You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Evan Champion <ev...@nortel.com> on 2009/12/30 03:58:54 UTC
[users@httpd] Long graceful restart time
Hi,
I have a large Apache proxy server (around 24000 <Proxy> statements spread over almost 200 listening ports) that I graceful restart once per day to update the configuration from a database. Our service monitoring tools indicate that during the graceful restart the server can take in excess of 1 minute to respond to new client connections.
Is there anything I can do to work around this?
Thanks,
Evan
Re: [users@httpd] Long graceful restart time
Posted by Matus UHLAR - fantomas <uh...@fantomas.sk>.
On 01.01.10 17:38, Evan Champion wrote:
> There are only about 200 virtual hosts and the document root is on a local
> (SAN) filesystem, so I'm not sure that patch will help (the description
> suggested a large number of virtual hosts on remote filesystems where the
> stat takes some time to complete). The config is large however,
> approaching 150,000 lines due to the number of <Proxy> statements
> providing different access controls to various parties.
do you have separate logs for all virtual hosts, proxied or not? If so, this
may also be the reason for slow restart.
--
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
42.7 percent of all statistics are made up on the spot.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: [users@httpd] Long graceful restart time
Posted by Evan Champion <ev...@nortel.com>.
Hi Nick,
There are only about 200 virtual hosts and the document root is on a local (SAN) filesystem, so I'm not sure that patch will help (the description suggested a large number of virtual hosts on remote filesystems where the stat takes some time to complete). The config is large however, approaching 150,000 lines due to the number of <Proxy> statements providing different access controls to various parties.
Evan
-----Original Message-----
From: Nick Kew [mailto:nick@webthing.com]
Sent: Wednesday, 30 December 2009 11:14
To: users@httpd.apache.org
Subject: Re: [users@httpd] Long graceful restart time
Evan Champion wrote:
> Hi,
>
> I have a large Apache proxy server (around 24000 <Proxy> statements spread over almost 200 listening ports) that I graceful restart once per day to update the configuration from a database. Our service monitoring tools indicate that during the graceful restart the server can take in excess of 1 minute to respond to new client connections.
>
> Is there anything I can do to work around this?
Do you mean huge numbers of virtual hosts? Go to bugzilla,
grab the patch from Bug 41887, and apply it.
(it's applied in trunk).
--
Nick Kew
Re: [users@httpd] Long graceful restart time
Posted by Nick Kew <ni...@webthing.com>.
Evan Champion wrote:
> Hi,
>
> I have a large Apache proxy server (around 24000 <Proxy> statements spread over almost 200 listening ports) that I graceful restart once per day to update the configuration from a database. Our service monitoring tools indicate that during the graceful restart the server can take in excess of 1 minute to respond to new client connections.
>
> Is there anything I can do to work around this?
Do you mean huge numbers of virtual hosts? Go to bugzilla,
grab the patch from Bug 41887, and apply it.
(it's applied in trunk).
--
Nick Kew
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org