httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shoichi Sakane <>
Subject Re: [PATCH?] SSI by mod_cgid.c, child process becomes zombie.
Date Fri, 12 Jul 2002 03:49:07 GMT
> when i get a html file including a line "<!--#exec cmd="ls" -->",
> a child process of cgi daemon process in the server becomes zombie.
> i'm using FreeBSD4.6-RELEASE and apache-2.0.39.

> cgid_server() calls apr_signal(SIGCHLD, SIG_IGN), but it doesn't work
> at least in my environment.  i might be misoperating, anyway the patch
> is attached in this mail.  i haven't care about the porting issue.
> so if this patch needs to modify to be suitable for other platform.

here is additional information.  i have checked if SSI "exec cmd"
works fine.

signal(SIGCHLD, SIG_IGN) is enough not to make zombie child.
	SunOS bahamas 5.7 i386

signal(SIGCHLD, SIG_IGN) makes zombie child.
	FreeBSD 4.6-RELEASE i386
	FreeBSD 3.5.1-RELEASE i386
	NetBSD 1.6_BETA4 i386
	Linux 2.4.18 i386

View raw message