From owner-freebsd-questions@FreeBSD.ORG Thu Jun 19 07:36:23 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A26611065673 for ; Thu, 19 Jun 2008 07:36:23 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (ei.bzerk.org [82.95.223.12]) by mx1.freebsd.org (Postfix) with ESMTP id 2F66A8FC20 for ; Thu, 19 Jun 2008 07:36:22 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.2/8.14.2) with ESMTP id m5J7Za8k099725; Thu, 19 Jun 2008 09:35:36 +0200 (CEST) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.2/8.14.2/Submit) id m5J7Za2Z099724; Thu, 19 Jun 2008 09:35:36 +0200 (CEST) (envelope-from mail25@bzerk.org) Date: Thu, 19 Jun 2008 09:35:36 +0200 From: Ruben de Groot To: David Robillard Message-ID: <20080619073536.GA99679@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , David Robillard , FreeBSD Questions , Valerio Daelli , Agus References: <226ae0c60806180829i30a79975l40aaf42184af78dd@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <226ae0c60806180829i30a79975l40aaf42184af78dd@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-4.1 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.1 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on ei.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (ei.bzerk.org [127.0.0.1]); Thu, 19 Jun 2008 09:38:02 +0200 (CEST) Cc: Ruben de Groot , FreeBSD Questions , Valerio Daelli , Agus Subject: Re: Vsftpd rotate logs with newsyslog... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2008 07:36:23 -0000 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