httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <>
Subject Re: Possible zombie processes from running cgis.
Date Tue, 06 Jun 2000 06:02:49 GMT
mod_cgi was broken during the last alpha cycle.  See my comments with
the commit of mod_cgi.c a minute or so ago.

A system trace of 1.3 vs. 2.0 was very instructive with this problem.
It was easy to note that with 2.0, garbage was passed to waitpid().
It didn't take too long to figure out what was going on once I thought
to look at the system trace.

strace -p pid:

wait4(-1073759584, NULL, WNOHANG|WUNTRACED, NULL) = -1 ECHILD (No child processes)
kill(-1073759584, SIGTERM)              = -1 ESRCH (No such process)
kill(-1073759584, SIGKILL)              = -1 ESRCH (No such process)

Jeff Trawick | | PGP public key at web site:
          Born in Roswell... married an alien...

View raw message