RE: [squid-users] Log file roll over Issues

From: Jenny Lee <bodycare_5_at_live.com>
Date: Tue, 8 Nov 2011 10:48:16 +0000

> Hi,
>
> We're having issues with log file roll over in squid - when squid is under heavy load and the log files are very big, triggering a log file roll over (squid -k rotate) makes squid unresponsive, and has to be killed manually with a kill -9.

You would be better off moving the log files aside, sending squid a reconfigure and working on the log files later so that you do not block squid.

That is what I do for access.log:

mv /squid/logs/access.log /squid/logs/access.log.bak
/squid/squid -k reconfigure
gzip /squid/logs/access.log.bak

Jenny
Received on Tue Nov 08 2011 - 10:48:25 MST

This archive was generated by hypermail 2.2.0 : Tue Nov 08 2011 - 12:00:03 MST