httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Cohen <>
Subject [users@httpd] Unclean restarts
Date Tue, 28 Aug 2007 15:44:05 GMT
We are running Apache 1.3.34.

On our Debian 4.0 system, each night cron.daily runs logrotate.
Logrotate's postrotate script runs `/etc/init.d/apache reload` (no
errors on stderr). When it is successful, top shows all apache children
go <defunct>, then apache restarts. But more often than not, all but 2
or 3 apache children die (without top ever showing <defunct>), the pid
file is removed. Those 2 or 3 apache children continue to live and
accept connections, but won't serve any requests. Since the pid file has
been removed, we have to issue a `killall apache`, then
`/etc/init.d/apache start`

The net effect is pretty fatal. If we're not around when it happens,
Apache remains effectively down until we come around to clean it up.

Any help or guidance would be greatly appreciated.



Brian J. Cohen
Intercarve Networks, LLC
914.552.1274 [cell]

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message