Subject: Re: newsyslog not sufficiently magic?
To: Peter Seebach <seebs@plethora.net>
From: Greg A. Woods <woods@weird.com>
List: current-users
Date: 06/06/2003 02:37:11
[ On Friday, June 6, 2003 at 01:25:04 (-0500), Peter Seebach wrote: ]
> Subject: Re: newsyslog not sufficiently magic?
>
> In message <m19OAaC-000B40C@proven.weird.com>, "Greg A. Woods" writes:
> > If your httpd is Apache 1.x then you probably want to send it a SIGUSR1,
> > not a SIGHUP.
>
> Hmm. Well, SIGHUP is working - if I do it by hand.
Sure it works, but SIGHUP is hitting it with a sledge hammer when all
you need to do is tap it lightly on the shoulder. :-)
> I'm also not clear on whether I should be saying "SIGUSR1" or just "USR1".
I don't know about the native NetBSD newsyslog -- I only know that with
my version it can be given either way (or as the decimal number). :-)
> > That may be part of the problem. I know with my own version of
> > newsyslog it is important to have the PID and signo fields specified for
> > all lines for something like httpd with multiple log files, even when
> > the other control fields are identical and specify that all the files
> > should be rotated at the same time like yours do.
>
> Hmm. So, does that make it restart Apache 8 times, or what?
With SIGUSR1 it's not quite as much of a problem....
--
Greg A. Woods
+1 416 218-0098; <g.a.woods@ieee.org>; <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>