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 2011/09/14 19:11:25 UTC

DO NOT REPLY [Bug 23911] CGI processes left defunct/zombie under 2.0.54

https://issues.apache.org/bugzilla/show_bug.cgi?id=23911

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

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

--- Comment #11 from Alexandre Ferrieux <al...@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