httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 23911] - CGI processes left defunct/zombie under 2.0.47
Date Fri, 07 Nov 2003 22:24:23 GMT
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=23911>.
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=23911

CGI processes left defunct/zombie under 2.0.47





------- Additional Comments From trawick@apache.org  2003-11-07 22:24 -------
I wasn't able to recreate any zombies in this scenario

Apache parent
  -> Apache child process
        -> CGI script
             -> some command invoked by the CGI

when the CGI script exited without reaping status from its child.  (just the way
Unix works I guess)

If you set MaxRequestsPerChild relatively low, won't that take care of zombies?

Another VERY stray thought is to write a simple module that calls waitpid(-1,,)
to try to reap status from any stray child process remaining for any reason. 
Since this is prefork, it shouldn't interfere with any other requests.

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


Mime
View raw message