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 [EMAIL PROTECTED]  2003-05-28 16:21 -------
I have done some more research.

When the cgid_daemon dies I see the following error message, the pid is for
the cgid_daemon:

[Wed May 28 11:05:59 2003] [notice] child pid 24470 exit signal Broken pipe (13)

I added some debug logging to the cgid_maint function in mod_cgid.c.

When the cgid_daemon dies with a broken pipe cgid_maint logged the following:

[Wed May 28 11:05:59 2003] [error] cgid_maint
[Wed May 28 11:05:59 2003] [error] cgid_maint APR_OC_REASON_DEATH
[Wed May 28 11:05:59 2003] [error] cgid_maint
[Wed May 28 11:05:59 2003] [error] cgid_maint APR_OC_REASON_UNREGISTER
[Wed May 28 11:05:59 2003] [error] cgid_maint DONE
[Wed May 28 11:05:59 2003] [error] cgid_maint DONE

The code for doing a graceful restart is triggered when APR_OC_REASON_LOST is
the reason, but this is never received by cgid_maint.

Here are all the log entries when I reproduced this:
[Wed May 28 11:05:12 2003] [notice] Apache/2.0.45 (Unix) mod_ssl/2.0.45
OpenSSL/0.9.7a mod_jk/1.2.3 configured -- resuming normal operations
[Wed May 28 11:05:12 2003] [info] Server built: May 15 2003 21:22:19
[Wed May 28 11:05:57 2003] [error] [client 207.160.133.9] Premature end of
script headers: counterdate.cgi
[Wed May 28 11:05:57 2003] [error] [client 207.160.133.9] unable to include
"/cgi/counterdate.cgi" in parsed file /export/home/moxp/www/www/index.html
[Wed May 28 11:05:57 2003] [info] (32)Broken pipe: core_output_filter: writing
data to the network
[Wed May 28 11:05:58 2003] [info] (32)Broken pipe: core_output_filter: writing
data to the network
[Wed May 28 11:05:58 2003] [info] (32)Broken pipe: core_output_filter: writing
data to the network
[Wed May 28 11:05:58 2003] [error] [client 207.160.133.9] Premature end of
script headers: counter.cgi
[Wed May 28 11:05:58 2003] [error] [client 207.160.133.9] unable to include
"/cgi/counter.cgi" in parsed file /export/home/moxp/www/www/index.html
[Wed May 28 11:05:58 2003] [error] [client 207.160.133.9] Premature end of
script headers: counterdate.cgi
[Wed May 28 11:05:58 2003] [error] [client 207.160.133.9] unable to include
"/cgi/counterdate.cgi" in parsed file /export/home/moxp/www/www/index.html
[Wed May 28 11:05:58 2003] [error] [client 207.160.133.9] Premature end of
script headers: counterdate.cgi
[Wed May 28 11:05:58 2003] [error] [client 207.160.133.9] unable to include
"/cgi/counterdate.cgi" in parsed file /export/home/moxp/www/www/index.html
[Wed May 28 11:05:58 2003] [error] [client 207.160.133.9] Premature end of
script headers: counterdate.cgi
[Wed May 28 11:05:58 2003] [error] [client 207.160.133.9] unable to include
"/cgi/counterdate.cgi" in parsed file /export/home/moxp/www/www/index.html
[Wed May 28 11:05:58 2003] [error] [client 207.160.133.9] Premature end of
script headers: counterdate.cgi
[Wed May 28 11:05:58 2003] [error] [client 207.160.133.9] unable to include
"/cgi/counterdate.cgi" in parsed file /export/home/moxp/www/www/index.html
[Wed May 28 11:05:58 2003] [error] [client 207.160.133.9] Premature end of
script headers: counter.cgi
[Wed May 28 11:05:58 2003] [error] [client 207.160.133.9] unable to include
"/cgi/counter.cgi" in parsed file /export/home/moxp/www/www/index.html
[Wed May 28 11:05:59 2003] [notice] child pid 24470 exit signal Broken pipe (13)
[Wed May 28 11:05:59 2003] [error] cgid_maint
[Wed May 28 11:05:59 2003] [error] cgid_maint APR_OC_REASON_DEATH
[Wed May 28 11:05:59 2003] [error] cgid_maint
[Wed May 28 11:05:59 2003] [error] cgid_maint APR_OC_REASON_UNREGISTER
[Wed May 28 11:05:59 2003] [error] cgid_maint DONE
[Wed May 28 11:05:59 2003] [error] cgid_maint DONE
[Wed May 28 11:05:59 2003] [error] [client 207.160.133.9] (3)No such process:
cgid daemon is gone; is Apache terminating?: 
/export/home/moxp/www/cgi/counter.cgi

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

Reply via email to