You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Paul Annesley <pa...@gmail.com> on 2005/10/02 17:35:42 UTC

[users@httpd] piped log process starting twice

Hi,

I've been experimenting with piped logging in apache 2.0.54 (Linux
2.4.30 i386), and found that when starting apache, the piped log
target program is being started, terminated, and then started again.

To demonstrate this, I have a small perl file which simply prints an
info line containing the current PID when it starts and receives any
signals.  This is the result...

(apache stopped, no log processes running)

> apachectl start
pid[12599] started
pid[12599] got SIGTERM
pid[12603] started

(PID 12603 remains running and works as expected)

All the other commands behave about as I would expect...

> apachectl restart
pid[12603] got SIGHUP
pid[12603] got SIGTERM
pid[12616] started

> apachectl graceful
pid[12616] got SIGTERM
pid[12628] started

> apachectl stop
pid[12628] got SIGTERM
pid[12628] got SIGTERM


Any ideas why the perl process is being started and then terminated
before being started again?

Thanks,
Paul

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org