You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Prajilal KP <pr...@gmail.com> on 2015/07/14 14:26:50 UTC

[users@httpd] 503 Server Unavailable error

Trying to set-up 8 websites across 8 application servers and 3 DB servers
in IBM SoftLayer.

We are now facing time-out issue with all the HTTP requests which takes
more than 60seconds to execute and resulted the following error

========================
Service Unavailable
The server is temporarily unable to service your request due to maintenance
downtime or capacity problems. Please try again later.
========================


We have tried increasing the time-out to 300seconds, but it didn't help us
to resolve the issue.


httpd.conf
-------------

(PHP 5.5 websites configuration)

 <VirtualHost  {{ apache_listen_address }}:80>
DocumentRoot /NFS/content/{{ ENV }}/WEBSITE1
  ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9001/NFS/content/{{
ENV }}/WEBSITE1/$1 timeout=300
ServerName {{ WEBSITE1 }}
<Directory /NFS/content/{{ ENV }}/WEBSITE1>
</VirtualHost>

 <VirtualHost  {{ apache_listen_address }}:443>
DocumentRoot /NFS/content/{{ ENV }}/WEBSITE1
  ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9001/NFS/content/{{
ENV }}/WEBSITE1/$1 timeout=300
ServerName {{ WEBSITE1 }}
<Directory /NFS/content/{{ ENV }}/WEBSITE1>
</VirtualHost>

(PHP 5.3 websites configuration)
 <VirtualHost  {{ apache_listen_address }}:80>
DocumentRoot /NFS/content/{{ ENV }}/WEBSITE2
  ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/NFS/content/{{
ENV }}/WEBSITE2/$1 timeout=300
ServerName {{ WEBSITE2 }}
<Directory /NFS/content/{{ ENV }}/WEBSITE2>
</VirtualHost>

 <VirtualHost  {{ apache_listen_address }}:443>
DocumentRoot /NFS/content/{{ ENV }}/WEBSITE2
  ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/NFS/content/{{
ENV }}/WEBSITE2/$1 timeout=300
ServerName {{ WEBSITE2 }}
<Directory /NFS/content/{{ ENV }}/WEBSITE2>
</VirtualHost>

Could anyone please help me?

Application Server Configuration
--------------------------------
Apache 2.4.12
PHP 5.3 & PHP 5.5
MySQL Client
HA Proxy
Drupal 6, Drupal 7
Perl, OpenAM, SOLR

100GB HDD, 8G RAM, 8G SWAP
1.5T NFS to store the application data


DB Server Configuration
---------------------------------
MySQL Server
100GB HDD, 24G RAM, 8G SWAP

Regards,
Lal

Re: [users@httpd] Re: 503 Server Unavailable error

Posted by Prajilal KP <pr...@gmail.com>.
Yes, i have checked the logs and saw the messages below

[proxy:error] [pid 6799] AH00959: ap_proxy_connect_backend disabling worker
for (127.0.0.1) for 60s
[proxy_ajp:error] [pid 6799] [client xx.xxx.xxx.xxx:56145] AH00896: failed
to make connection to backend: 127.0.0.1
[proxy:error] [pid 6799] AH00940: AJP: disabled connection for (127.0.0.1)
[proxy:error] [pid 6838] (111)Connection refused: AH00957: AJP: attempt to
connect to 127.0.0.1:8109 (127.0.0.1) failed
[proxy:error] [pid 6838] AH00959: ap_proxy_connect_backend disabling worker
for (127.0.0.1) for 60s
[proxy_ajp:error] [pid 6838] [client xx.xxx.xxx.xxx:56183] AH00896: failed
to make connection to backend: 127.0.0.1
[proxy:error] [pid 9494] (111)Connection refused: AH00957: AJP: attempt to
connect to 127.0.0.1:8109 (127.0.0.1) failed
[proxy:error] [pid 9494] AH00959: ap_proxy_connect_backend disabling worker
for (127.0.0.1) for 60s
[proxy_ajp:error] [pid 9494] [client xx.xxx.xxx.xxx:56188] AH00896: failed
to make connection to backend: 127.0.0.1
[proxy:error] [pid 6799] AH00940: AJP: disabled connection for (127.0.0.1)


Regards,
Prajilal

On Wed, Jul 15, 2015 at 7:12 AM, Good Guy <xf...@hotmail.com> wrote:

> Have you checked the log to see if there is anything  in it?  I suggest,
> first switch off the server if it is still running and then delete
> everything from the error.log file and then restart the server to see if
> new errors gives any hints as to what is taking so long.
>
>
>
>
> On 14/07/2015 20:30, Good Guy wrote:
>
>>
>>
>> Have you checked the log to see if there is anything  in it?  I suggest,
>> first switch off the server if it is still running and then delete
>> everything from the error.log file and then restart the server to see if
>> new errors gives any hints as to what is taking so long.
>>
>>
>>
>>
>>
>> On 14/07/2015 13:26, Prajilal KP wrote:
>>
>>>
>>> Trying to set-up 8 websites across 8 application servers and 3 DB
>>> servers in IBM SoftLayer.
>>>
>>> We are now facing time-out issue with all the HTTP requests which takes
>>> more than 60seconds to execute and resulted the following error
>>>
>>> ========================
>>> Service Unavailable
>>> The server is temporarily unable to service your request due to
>>> maintenance downtime or capacity problems. Please try again later.
>>> ========================
>>>
>>>
>>> We have tried increasing the time-out to 300seconds, but it didn't help
>>> us to resolve the issue.
>>>
>>>
>>> httpd.conf
>>> -------------
>>>
>>> (PHP 5.5 websites configuration)
>>>
>>>  <VirtualHost  {{ apache_listen_address }}:80>
>>> DocumentRoot /NFS/content/{{ ENV }}/WEBSITE1
>>> ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9001/NFS/content/{{
>>> <http://127.0.0.1:9001/NFS/content/%7B%7B> <
>>> http://127.0.0.1:9001/NFS/content/%7B%7B> ENV }}/WEBSITE1/$1 timeout=300
>>> ServerName {{ WEBSITE1 }}
>>> <Directory /NFS/content/{{ ENV }}/WEBSITE1>
>>> </VirtualHost>
>>>
>>>  <VirtualHost  {{ apache_listen_address }}:443>
>>> DocumentRoot /NFS/content/{{ ENV }}/WEBSITE1
>>> ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9001/NFS/content/{{
>>> <http://127.0.0.1:9001/NFS/content/%7B%7B> <
>>> http://127.0.0.1:9001/NFS/content/%7B%7B> ENV }}/WEBSITE1/$1 timeout=300
>>> ServerName {{ WEBSITE1 }}
>>> <Directory /NFS/content/{{ ENV }}/WEBSITE1>
>>> </VirtualHost>
>>>
>>> (PHP 5.3 websites configuration)
>>>  <VirtualHost  {{ apache_listen_address }}:80>
>>> DocumentRoot /NFS/content/{{ ENV }}/WEBSITE2
>>> ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/NFS/content/{{
>>> <http://127.0.0.1:9000/NFS/content/%7B%7B> <
>>> http://127.0.0.1:9000/NFS/content/%7B%7B> ENV }}/WEBSITE2/$1 timeout=300
>>> ServerName {{ WEBSITE2 }}
>>> <Directory /NFS/content/{{ ENV }}/WEBSITE2>
>>> </VirtualHost>
>>>
>>>  <VirtualHost  {{ apache_listen_address }}:443>
>>> DocumentRoot /NFS/content/{{ ENV }}/WEBSITE2
>>> ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/NFS/content/{{
>>> <http://127.0.0.1:9000/NFS/content/%7B%7B> <
>>> http://127.0.0.1:9000/NFS/content/%7B%7B> ENV }}/WEBSITE2/$1 timeout=300
>>> ServerName {{ WEBSITE2 }}
>>> <Directory /NFS/content/{{ ENV }}/WEBSITE2>
>>> </VirtualHost>
>>>
>>> Could anyone please help me?
>>>
>>> Application Server Configuration
>>> --------------------------------
>>> Apache 2.4.12
>>> PHP 5.3 & PHP 5.5
>>> MySQL Client
>>> HA Proxy
>>> Drupal 6, Drupal 7
>>> Perl, OpenAM, SOLR
>>>
>>> 100GB HDD, 8G RAM, 8G SWAP
>>> 1.5T NFS to store the application data
>>>
>>>
>>> DB Server Configuration
>>> ---------------------------------
>>> MySQL Server
>>> 100GB HDD, 24G RAM, 8G SWAP
>>>
>>> Regards,
>>> Lal
>>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

[users@httpd] Re: 503 Server Unavailable error

Posted by Good Guy <xf...@hotmail.com>.
Have you checked the log to see if there is anything  in it?  I suggest, 
first switch off the server if it is still running and then delete 
everything from the error.log file and then restart the server to see if 
new errors gives any hints as to what is taking so long.




On 14/07/2015 20:30, Good Guy wrote:
>
>
> Have you checked the log to see if there is anything  in it?  I 
> suggest, first switch off the server if it is still running and then 
> delete everything from the error.log file and then restart the server 
> to see if new errors gives any hints as to what is taking so long.
>
>
>
>
>
> On 14/07/2015 13:26, Prajilal KP wrote:
>>
>> Trying to set-up 8 websites across 8 application servers and 3 DB 
>> servers in IBM SoftLayer.
>>
>> We are now facing time-out issue with all the HTTP requests which 
>> takes more than 60seconds to execute and resulted the following error
>>
>> ========================
>> Service Unavailable
>> The server is temporarily unable to service your request due to 
>> maintenance downtime or capacity problems. Please try again later.
>> ========================
>>
>>
>> We have tried increasing the time-out to 300seconds, but it didn't 
>> help us to resolve the issue.
>>
>>
>> httpd.conf
>> -------------
>>
>> (PHP 5.5 websites configuration)
>>
>>  <VirtualHost  {{ apache_listen_address }}:80>
>> DocumentRoot /NFS/content/{{ ENV }}/WEBSITE1
>> ProxyPassMatch ^/(.*\.php(/.*)?)$ 
>> fcgi://127.0.0.1:9001/NFS/content/{{ 
>> <http://127.0.0.1:9001/NFS/content/%7B%7B> ENV }}/WEBSITE1/$1 timeout=300
>> ServerName {{ WEBSITE1 }}
>> <Directory /NFS/content/{{ ENV }}/WEBSITE1>
>> </VirtualHost>
>>
>>  <VirtualHost  {{ apache_listen_address }}:443>
>> DocumentRoot /NFS/content/{{ ENV }}/WEBSITE1
>> ProxyPassMatch ^/(.*\.php(/.*)?)$ 
>> fcgi://127.0.0.1:9001/NFS/content/{{ 
>> <http://127.0.0.1:9001/NFS/content/%7B%7B> ENV }}/WEBSITE1/$1 timeout=300
>> ServerName {{ WEBSITE1 }}
>> <Directory /NFS/content/{{ ENV }}/WEBSITE1>
>> </VirtualHost>
>>
>> (PHP 5.3 websites configuration)
>>  <VirtualHost  {{ apache_listen_address }}:80>
>> DocumentRoot /NFS/content/{{ ENV }}/WEBSITE2
>> ProxyPassMatch ^/(.*\.php(/.*)?)$ 
>> fcgi://127.0.0.1:9000/NFS/content/{{ 
>> <http://127.0.0.1:9000/NFS/content/%7B%7B> ENV }}/WEBSITE2/$1 
>> timeout=300
>> ServerName {{ WEBSITE2 }}
>> <Directory /NFS/content/{{ ENV }}/WEBSITE2>
>> </VirtualHost>
>>
>>  <VirtualHost  {{ apache_listen_address }}:443>
>> DocumentRoot /NFS/content/{{ ENV }}/WEBSITE2
>> ProxyPassMatch ^/(.*\.php(/.*)?)$ 
>> fcgi://127.0.0.1:9000/NFS/content/{{ 
>> <http://127.0.0.1:9000/NFS/content/%7B%7B> ENV }}/WEBSITE2/$1 
>> timeout=300
>> ServerName {{ WEBSITE2 }}
>> <Directory /NFS/content/{{ ENV }}/WEBSITE2>
>> </VirtualHost>
>>
>> Could anyone please help me?
>>
>> Application Server Configuration
>> --------------------------------
>> Apache 2.4.12
>> PHP 5.3 & PHP 5.5
>> MySQL Client
>> HA Proxy
>> Drupal 6, Drupal 7
>> Perl, OpenAM, SOLR
>>
>> 100GB HDD, 8G RAM, 8G SWAP
>> 1.5T NFS to store the application data
>>
>>
>> DB Server Configuration
>> ---------------------------------
>> MySQL Server
>> 100GB HDD, 24G RAM, 8G SWAP
>>
>> Regards,
>> Lal
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org