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 19849] - If the mod_cgid daemon process dies it is never restarted
Date Thu, 29 May 2003 02:09:51 GMT
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=19849>.
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=19849

If the mod_cgid daemon process dies it is never restarted





------- Additional Comments From glenn@apache.org  2003-05-29 02:09 -------
Attached is a patch which will restart the cgid daemon if it dies.
At first I tried doing a server restart like the cgid_maint code had
originally been setup to do, ( kill(getpid(), AP_SIG_GRACEFUL); ) but after 
an apache restart from cgid_maint I saw a number of the following warning
messages. cgid worked fine though.

[Wed May 28 10:49:42 2003] [warn] long lost child came home! (pid 21018)
[Wed May 28 10:49:42 2003] [warn] long lost child came home! (pid 21019)

So I wrote a patch that would just restart the cgid daemon rather than
restart apache itself.  This patch seems to work fine.

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


Mime
View raw message