Apache HUP restart problems with large KeepAliveTimeout

This is a discussion on Apache HUP restart problems with large KeepAliveTimeout within the Linux Web Servers forums, part of the Web Server and Related Forums category; We have been having consistent problems when we attempt to restart our Apache web server each night. We are using ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-24-2005
google@macrotex.net
 
Posts: n/a
Default Apache HUP restart problems with large KeepAliveTimeout

We have been having consistent problems when we attempt to restart our
Apache web server each night. We are using the standard Redhat
Enterprise Linux 3 distribution (version "Apache/2.0.46 (Red Hat)"). We
send a HUP signal at 23:55 every day in order to rotate the logs. What
happens more often than not is that the server becomes inaccessible for
several minutes, up to 23 minutes as this example shows:

[Sun May 15 23:55:25 2005] [warn] child process 23256 still did not
exit, sending a SIGTERM
[Sun May 15 23:56:32 2005] [warn] child process 23256 still did not
exit, sending a SIGTERM
[Mon May 16 00:01:01 2005] [error] child process 23256 still did not
exit, sending a SIGKILL
[Mon May 16 00:18:54 2005] [notice] SIGHUP received. Attempting to
restart

This problem seemed to have started after I turned on KeepAlive and set
KeepAliveTimeout to 300 seconds. I recently reset it to 60 seconds, and
the problem seems to have gone away.

While I am happy that the problem no longer persists, I do not
understand why the large timeout setting would cause Apache to have
trouble going a HUP restart.

Does anyone have any explanation for this behavior?

 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:38 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0