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: [email protected]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to