Bug#237377: apache: Apache parent process dies at reload
Package: apache
Version: 1.3.26-0woody3
Severity: important
Tags: woody
When reloading apache from logrotate, sometimes the master process exits
and leaves the children running. When that happens, apache still listens
to port 80 but does not answer requests (ie. you connect with eg.
netcat, but the connection just hangs when a "GET /" is sent, which it
would normally answer to). This happens seldom; once every or every
second month.
I have loaded PHP4 and mod_ssl; no other external modules are configured
nor installed.
A log snippet from this morning:
[Thu Mar 11 07:00:31 2004] [notice] SIGUSR1 received. Doing graceful restart
accept_mutex_on: Identifier removed
[Thu Mar 11 07:00:36 2004] [notice] Apache/1.3.26 (Unix) Debian GNU/Linux PHP/4.1.2 mod_ssl/2.8.9 OpenSSL/0.9.6g configured -
- resuming normal operations
[Thu Mar 11 07:00:36 2004] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache/suexec)
[Thu Mar 11 07:00:36 2004] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Thu Mar 11 07:00:36 2004] [alert] Child 31317 returned a Fatal error...
Apache is exiting!
No other logs tell anything about where the problem comes from.
Logrotate just runs "/etc/init.d/apache reload".
The server is not busy in any way; nor does it serve large files. It
runs a simple web page and some php webmail (IMP2) over ssl; nothing fancy.
Regards
/Rasmus
-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux carlsberg 2.4.25 #1 lør feb 21 13:16:30 CET 2004 i586
Locale: LANG=C, LC_CTYPE=da_DK
Versions of packages apache depends on:
ii apache-common 1.3.26-0woody3 Support files for all Apache webse
ii dpkg 1.9.21 Package maintenance system for Deb
ii libc6 2.2.5-11.5 GNU C Library: Shared libraries an
ii libdb2 2:2.7.7.0-7 The Berkeley database routines (ru
ii libexpat1 1.95.2-6 XML parsing C library - runtime li
ii logrotate 3.5.9-8 Log rotation utility
ii mime-support 3.18-1.3 MIME files 'mime.types' & 'mailcap
ii perl 5.6.1-8.6 Larry Wall's Practical Extraction
ii perl [perl5] 5.6.1-8.6 Larry Wall's Practical Extraction
Reply to: