On Sun, 25 Apr 2004, Gaetano Mendola wrote:

> I wish to know what I have to do for mantainance for
> this file that is growing each day till reach the maximum
> size for the FS ( 2 GB ), is it safe delete it regulary
> without stop squid ?

You need to set up proper log rotation calling "squid -k rotate".

The swap.state file should never be touched manually. It is not a log 
file, it is the index of what you have in the cache.

Each time you call "squid -k rotate" squid compacts this file, pruning out 
all old stuff no longer in the cache.

Regards
Henrik

Reply via email to