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

From: Gaetano Mendola <mendola@dont-contact.us>
Date: Mon, 26 Apr 2004 20:14:18 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Henrik Nordstrom wrote:

| 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.

I did:

/usr/local/squid/sbin/squid -f /usr/local/squid/etc/squid.conf -k rotate

and now I have a file swap.state.last-clean
of 0 bytes and the swap.state is still growing.

Regards
Gaetano Mendola

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAjVFz7UpzwH2SGd4RArK/AKDT8LnFY7Nv3tJwQfApu35OVKV1bQCg9ONd
rtWJfNQO/FFrDDZ4BHVit3E=
=T7Cn
-----END PGP SIGNATURE-----
Received on Mon Apr 26 2004 - 12:14:31 MDT

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