Message Board -  Archive

[ Login ] [ Create Account ]
[ Board List ] [ View Board ] [ Post Reply ]
  Author  Subject: Re: logrotate
Archive  

Posted on 11-19-2003 01:40 a.m. ET  reply

Original Poster: Mark Krentel

> Yes, sending Apache a HUP signal causes it to kill itself and restart.

Ok, I get it. The parent has to kill and restart all of the children
so they'll stop using the old file descriptor. That means my idea of
catching the HUP in the CGI script is bogus because the parent would
regard the child as a runaway.

Another possibility is to change Apache's logging to use syslog.
That way, the HUP goes to syslogd and you never send any signal to
Apache.

--Mark

< Previous 1 Next >

Site Contents