You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2008/07/29 16:45:44 UTC

DO NOT REPLY [Bug 39311] Apache Crashes On several Graceful Restart requests coinciding in time with lot 's of HTTP-requests

https://issues.apache.org/bugzilla/show_bug.cgi?id=39311


Alexey Portnov <al...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alexey.portnov@gmail.com




--- Comment #4 from Alexey Portnov <al...@gmail.com>  2008-07-29 07:45:43 PST ---
I've got a simple script for log rotation.
for every site script does:
-----------------------------------
date=`date '+%Y%m%d'`
mv apache_access_log apache_access_log.$date
mv apache_error_log apache_error_log.$date
apachectl graceful
-----------------------------------

and it worked till last midnight.
When I tried to open site today in the morning, apache was down.
I've run apachectl graceful from console. After that ps shows me:
---------------------------------------------------------------------------------
# ps axuwww|grep http
www       99087  6.5  1.3 109664 26812  ??  S     8:58AM   0:00.83
/usr/local/sbin/httpd -k graceful
www       96707  3.3  1.4 107792 28596  ??  S     8:56AM   0:04.33
/usr/local/sbin/httpd -k graceful
www       99125  2.5  1.2 108120 25552  ??  S     8:58AM   0:00.28
/usr/local/sbin/httpd -k graceful
www       99123  2.2  1.1 107212 23364  ??  S     8:58AM   0:00.25
/usr/local/sbin/httpd -k graceful
www       83161  2.1  1.6 107200 33084  ??  R     8:41AM   0:26.33
/usr/local/sbin/httpd -k graceful
www       88613  1.9  1.7 111304 35672  ??  S     8:47AM   0:16.29
/usr/local/sbin/httpd -k graceful
www       96706  1.8  1.3 107756 27556  ??  S     8:56AM   0:03.58
/usr/local/sbin/httpd -k graceful
www       51619  1.6  1.5 107196 31008  ??  S     8:06AM   1:08.64
/usr/local/sbin/httpd -k graceful
www       99124  0.9  1.0 107056 21636  ??  S     8:58AM   0:00.14
/usr/local/sbin/httpd -k graceful
www       99121  0.8  1.0 107068 19840  ??  S     8:58AM   0:00.10
/usr/local/sbin/httpd -k graceful
www       81090  0.7  1.6 107204 33268  ??  S     8:39AM   0:30.71
/usr/local/sbin/httpd -k graceful
www       99122  0.6  1.0 107064 21216  ??  S     8:58AM   0:00.13
/usr/local/sbin/httpd -k graceful
www       88648  0.5  1.6 108204 33188  ??  S     8:47AM   0:18.60
/usr/local/sbin/httpd -k graceful
root      40282  0.0  0.7 105504 15304  ??  Ss    7:54AM   0:00.55
/usr/local/sbin/httpd -k graceful
www       40283  0.0  0.4 12316  8520  ??  I     7:54AM   0:00.00
/usr/local/sbin/httpd -k graceful
www       66731  0.0  0.8 106812 15700  ??  I    12:20AM   0:00.00
/usr/local/sbin/httpd
www       66733  0.0  0.8 106812 15700  ??  I    12:20AM   0:00.00
/usr/local/sbin/httpd
www       66735  0.0  0.8 106780 15660  ??  I    12:20AM   0:00.00
/usr/local/sbin/httpd
www       66736  0.0  0.8 106780 15660  ??  I    12:20AM   0:00.00
/usr/local/sbin/httpd
root      99250  0.0  0.0  1592   908  p5  S+    8:58AM   0:00.00 grep http
----------------------------------------------------------------

Then I made /usr/local/etc/rc.d/apache restart and all proccess "httpd -k
graceful" was killed, and then everything is work ok.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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