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 2003/03/10 17:04:50 UTC
DO NOT REPLY [Bug 17831] New: -
worker mpm sometimes fails to terminate child processes
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17831>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17831
worker mpm sometimes fails to terminate child processes
Summary: worker mpm sometimes fails to terminate child processes
Product: Apache httpd-2.0
Version: 2.0.44
Platform: Sun
OS/Version: Other
Status: NEW
Severity: Major
Priority: Other
Component: worker
AssignedTo: bugs@httpd.apache.org
ReportedBy: glenn@apache.org
The worker thread sometimes fails to terminate child processes resulting in the
following error in the apache error_log.
[Thu Mar 06 19:36:05 2003] [crit] the listener thread didn't exit
[Thu Mar 06 19:36:06 2003] [crit] the listener thread didn't exit
[Fri Mar 07 00:10:02 2003] [crit] the listener thread didn't exit
[Fri Mar 07 06:05:25 2003] [crit] the listener thread didn't exit
[Fri Mar 07 06:05:26 2003] [crit] the listener thread didn't exit
>From reviewing the code in server/mpm/worker/worker.c it looks like
the main process atempts to send a SIGHUP to the child 10 times over a 5 second
period. If that fails the child process never terminates. This eventually
leads to the server hitting its ServerLimit and ultimately denying requests.
This was noticed while using Apache-Tomcat mod_jk 1.2 from CVS.
I suspect that if mod_jk is waiting more than 5 seconds to read a response
from the Tomcat connector while the main process is trying to signal it to
terminate the child process termination fails.
I am not sure if this is something that can be fixed in httpd 2.0, mod_jk,
or both.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org