Re: current store swap size v's what is on my partition

From: Duane Wessels <>
Date: Tue, 5 Oct 1999 13:37:22 -0600

On Tue, 5 Oct 1999, Marc Lucke wrote:

> Quite a few times now I have found myself in a position where the
> Current Store Swap Size reported & the total size of squid's cache
> files differs wildly. This has happened when I have wound down the
> maximum swap size (to reduce the load on my memory) & then restarted
> Squid (but it hasn't happened every time).
> For example, I did it this morning & there is about 1.7 gb of
> information on my squid dedicated partition & the cachemgr cgi reports
> that there is 657 kb.
> How/why does Squid seem to forget about all these cache files? Is it
> something I am doing wrong?
> What is the best way (or is there a way) of finding all the cache
> files that Squid no longer wants a bar of & trashing them to restore
> the capacity of the partition?

The best way is to be patient. Squid will go through all
the swap directories and remove unused files. It may take a day
or so to search all the directories. You can monitor the progress
by looking at the cachemgr "counters" page, and searching for
'swap_files_cleaned'. For example:

wessels squid/src 63> ./client mgr:counters | grep clean
swap_files_cleaned = 0

Duane W.
Received on Tue Oct 05 1999 - 13:52:04 MDT

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