From owner-freebsd-questions@FreeBSD.ORG Fri Jun 20 04:10:01 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 BD60D1065679 for ; Fri, 20 Jun 2008 04:10:01 +0000 (UTC) (envelope-from agus.262@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.226]) by mx1.freebsd.org (Postfix) with ESMTP id 86B308FC27 for ; Fri, 20 Jun 2008 04:10:01 +0000 (UTC) (envelope-from agus.262@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so7754327rvf.43 for ; Thu, 19 Jun 2008 21:10:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=aK2gbSlB6HXtkwYG5zbZ5ip5jP3a3MFR0ymyIU4z2qw=; b=TXDYl4hWqhQ1u1adtJqQhQpsIU1lkebN5DLe18FRFEmF9rMWLEjX3PrrErK3djEIab pG2WkEtwADKzHrk+Uvi1fEJNo4h3GlHL0i2pBOe8r5y8x6xM90BJbsmA1tqa3UDQBdEQ s+wwBFGDPnoNWhWVuPH3qSTHFr07e98OUp4y0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=UNiK7rkrAAQ+ZVkdHCYG8JHOa1SFzThv/J9bfe+X5exiCMB9a6+dH7sgvopskaNAsk pd2hEp8O94+jGm7/DTqXjCGMQRBK6dfzA6m5f7UcSNLlR2Gk5JWRFirwfyi6OvMJvi2Y fJlmBbOhfSD6T1KF/gP6VX1e88a2qorcNE7+Y= Received: by 10.140.178.21 with SMTP id a21mr7180049rvf.209.1213935001147; Thu, 19 Jun 2008 21:10:01 -0700 (PDT) Received: by 10.140.158.19 with HTTP; Thu, 19 Jun 2008 21:10:01 -0700 (PDT) Message-ID: Date: Fri, 20 Jun 2008 01:10:01 -0300 From: Agus To: "David Robillard" In-Reply-To: <226ae0c60806190533s3863949am188a579802cdf81b@mail.gmail.com> MIME-Version: 1.0 References: <226ae0c60806180829i30a79975l40aaf42184af78dd@mail.gmail.com> <20080619073536.GA99679@ei.bzerk.org> <226ae0c60806190533s3863949am188a579802cdf81b@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Ruben de Groot , FreeBSD Questions , Valerio Daelli 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: Fri, 20 Jun 2008 04:10:01 -0000 2008/6/19 David Robillard : > > 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. > > Yes, of course :) > > > regards, > > Ruben > > Cheers, > > DA+ > -- > David Robillard > UNIX systems administrator & Oracle DBA > CISSP, RHCE & Sun Certified Security Administrator > Montreal: +1 514 966 0122 > Thank u all very much guys....i will see if i do a graceful or simply a restart cause i dont think the apache will be getting too many connections all the time....but that clarifications was quite good David....and thank u for the example....that is always the best way to understand things...much appreciated... Will try both....just a question about compression...What i understood from your mail is that as apache takes some time to let his children close all connections i shouldn zip those logs cause, newsyslog wont wait till apache finishes and probably will xip logs that are still being access by the children? if htat is the case using a HUP will close all and allow me to use compresion? Cheers, Agustin