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.54
Date Wed, 14 Sep 2011 17:11:25 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=23911

Alexandre Ferrieux <alexandre.ferrieux@orange-ftgroup.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
            Version|2.0.54                      |2.2.13
         Resolution|WONTFIX                     |

--- Comment #11 from Alexandre Ferrieux <alexandre.ferrieux@orange-ftgroup.com> 2011-09-14
17:11:25 UTC ---
Still there in 2.2.13-1fc11.

I have isolated it: it can be simply reproduced with a cgi containing

    sleep 9999 >/dev/null &

and fixed by redirecting the stderr of the child:

    sleep 9999 >/dev/null 2> /dev/null &

(the stdout redir is needed anyway for the HTTP request to complete)

So it boils down to: CGI exits with the stderr dup'ed over to a lingering
child.
I assume this is linked to Apache's capture of CGI's stderrs (for error_log),
not expecting their lifecycle to be decoupled from the CGI process's.

Apologies if this is not the proper place to reopen. Spank me in that case :)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message