Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 May 1999 14:06:55 +0100
From:      Stuart Henderson <stuart@eclipse.net.uk>
To:        Mike Fisher <mfisher@csh.rit.edu>, freebsd-isp@freebsd.org
Subject:   Re: Web Statistics break up program.
Message-ID:  <374165EF.1BB22A14@eclipse.net.uk>
References:  <Pine.BSF.4.10.9905171643420.17356-100000@parsons.csh.rit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Fisher <mfisher@csh.rit.edu> wrote:
> I don't think that will work, as-is.  I think that it is necessary 
> to send apache a signal to get it to rotate its logs.

Very true, this will do the trick:

	kill -1 `cat /var/run/httpd.pid`

Otherwise Apache will start writing at the same offset
i.e. leave a load of blank space at the start of the new
log file. I'm not sure whether this is written as a
sparse file or not (if so it's not too much of a problem
but the reported size might end up a little scary :)

Stuart


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?374165EF.1BB22A14>