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=21737>.
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=21737

cgi process defunct





------- Additional Comments From [EMAIL PROTECTED]  2003-09-04 19:14 -------
Here is a "hack" which fixes the problem on Mac OS X (likely FreeBSD as well).

-           if (ap_os_kill(p->pid, SIGTERM) == -1) {
+           if ( (ap_os_kill(p->pid, SIGTERM) == -1) && (errno == ESRCH) ) {
+               // in case ESRCH means "zombie".
+                waitpid(p->pid, (int *) 0, 0);

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to