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

piped log programs respawning again after Apache is stopped





------- Additional Comments From [EMAIL PROTECTED]  2003-11-20 14:07 -------
I created a small C program that captures all signals and logs to a file which
signal it received. This program only stops with SIGKILL.

I put it as a piped log program on httpd.conf to test what apache is doing with
them.

After running apachectl start, apache runs twice each piped log. I've put two
custom logs with piped logs on httpd.conf and apache started 4 piped log 
instances.

here are the logs after apache starts:

pid 9146 started at Thu Nov 20 11:58:51 2003
pid 9146 received signal 15
pid 9147 started at Thu Nov 20 11:58:51 2003
pid 9147 received signal 15
pid 9149 started at Thu Nov 20 11:58:52 2003
pid 9150 started at Thu Nov 20 11:58:52 2003

Apache starts a set of these piped log programs and send SIGTERM to them. After,
apache starts them again.

After calling apachectl stop, here are the logs:

pid 9146 started at Thu Nov 20 11:58:51 2003
pid 9146 received signal 15
pid 9147 started at Thu Nov 20 11:58:51 2003
pid 9147 received signal 15
pid 9149 started at Thu Nov 20 11:58:52 2003
pid 9149 received signal 15
pid 9150 started at Thu Nov 20 11:58:52 2003
pid 9150 received signal 15

Apache sent SIGTERM to the last two instances of my piped log programs.

I think that the bug is related to how Apache treats piped log programs crashes.
 When calling apachectl stop, apache kills all piped log programs with SIGTERM
but the crash-safe code of piped log programs starts all piped log programs
again, leaving them running before apache really stops.

Please! I need help here! Nobody is helping! I'm starting to consider not
testing Apache 2 anymore if nobody helps me on this problem.

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

Reply via email to