> > Apache behaves similarly. If you send the parent process a SIGHUP or
> > SIGUSR1, it will close and reopen its log files. Note that with
> > SIGUSR1, any active children will still be writing to the old files.
> > 
> > If Apache stops logging, one thing to try is
> > 
> >     kill -USR1 `cat /var/run/httpd.pid`
> > 
> > (modify according to where you keep your pid file).
> 
> I've gone so far as to kill -9 the server and restart it afresh several
> times. Unless there's some special property to USR1, I doubt it will work,
> but I'll be happy to try...

Remember that apache pre-forks; kill -9 `cat /var/run/httpd.pid` will only
kill the master httpd, because it can't catch SIGKILL to terminate its
children.
-- 
Kevin L. Mitchell <[EMAIL PROTECTED]>
-------------------------  -. .---- --.. ..- -..-  --------------------------
http://web.mit.edu/klmitch/www/              (PGP5 keys availiable from here)
   DSS Key ID ED0DB34E: D9BF 0E74 FDCB 43F5 C597  878F 9455 EC24 ED0D B34E
   DH  Key ID 2A2C31D4: 1A77 4BA5 9E32 14AE 87DA  9FEC 7106 FC62 2A2C 31D4

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to