Re: [squid-users] mantainance for swap.state

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 25 Apr 2004 19:57:11 +0200 (CEST)

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
Received on Sun Apr 25 2004 - 11:57:15 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Apr 30 2004 - 12:00:02 MDT