Re: logfile (Re: Frequency of reboot?)

From: Jonathan Larmour <JLarmour@dont-contact.us>
Date: Tue, 01 Jul 1997 18:03:09 +0100

At 18:11 01/07/97 +0200, Stephen R. van den Berg wrote:
>Jonathan Larmour <JLarmour@origin-at.co.uk> wrote:
>>At 17:49 01/07/97 +0200, Stephen R. van den Berg wrote:
>>>Correct me if I'm wrong, but, if you don't restart squid every now
>>>and then, your cache logfile (the one with the state information) will
>>>eventually grow out of bounds, will it not?
>
>>Use "kill -USR1 `cat /usr/local/squid/logs/squid.pid`" (or wherever squid
>>puts its PID, defined in squid.conf). This rotates the log files without
>>restarting squid.
>
>The regular logfiles, yes. Not the cache-log with the state information
>(the logfile in your cache directory), though.

In that case, the answer is that it won't grow out of bounds. Its strictly
one line per cache entry, so its size will change (and grow dramatically
when you first start squid until the disk usage reaches cache_swap), but it
will always hover around a fixed size.

I've always thought the name "log" for this file is a bit of a misnomer.

Jonathan L.

Origin UK,323 Cambridge Science Park,Cambridge,England. Tel: +44(1223)423355
------[ Do not think that every sad-eyed woman has loved and lost... ]------
April 12th! Ra!Ra!----[ she may have got him. -Anon ]-----April 12th! Ra!Ra!
Help fight spam! http://spam.abuse.net/ These opinions are all my own fault
Received on Tue Jul 01 1997 - 10:08:00 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:35:39 MST