Date: Thu, 19 Jun 2008 09:35:36 +0200 From: Ruben de Groot <mail25@bzerk.org> To: David Robillard <david.robillard@gmail.com> Cc: Ruben de Groot <mail25@bzerk.org>, FreeBSD Questions <freebsd-questions@freebsd.org>, Valerio Daelli <valerio.daelli@gmail.com>, Agus <agus.262@gmail.com> Subject: Re: Vsftpd rotate logs with newsyslog... Message-ID: <20080619073536.GA99679@ei.bzerk.org> In-Reply-To: <226ae0c60806180829i30a79975l40aaf42184af78dd@mail.gmail.com> References: <226ae0c60806180829i30a79975l40aaf42184af78dd@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 18, 2008 at 11:29:13AM -0400, David Robillard typed: > >> Well, i take this opportunity also to ask about Apache too....which signal > >> should i send? > > > > A HUP signal should work for apache. > > Actually, the Apache documentation says that one must use USR1 instead > of HUP to send a gracefull restart instead of a hangup. > This is to let the children httpd processes some time to finish their > transactions before the master restarts. It is also for this reason > that the logs should not be compressed by newsyslogd. Well yes, this is precisely the reason why we use a SIGHUP (equivalent to "apachectl restart") instead of a SIGUSR1 (apachectl graceful). We don't really care about a few broken client connections since the logs are rotated at a quiet time. Of course, YMMV. regards, Ruben
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080619073536.GA99679>