I think this is still a known issue with Squid. But it can be worked
around.
Drop your cache_swap_low, by a bit (maybe to 80%), and then lower the
cache_dir sizes every day by about 10% until the cache shrinks to the
right size--then reset your cache_swap_low, and leave the cache_dirs at
the desired setting. If it refuses, then it may be time to do a
swap.state rebuild (delete the swap.states and restart Squid).
I reserve the right to be wrong, however. (But it works for me on our
2.2STABLE5+hno based Squids.)
Chemolli Francesco (USI) wrote:
> Last Thursday I reduced the size of my cache_dirs (cut
> by half).
> I thought they'd be somewhat slow in following my
> configuration directive, but that in a few hours the
> garbage collection mechanism would have fixed things up.
> It's been four days now, and yet the usage of the resized
> cache_dirs has only gone down a few percent points.
> Is there really no other choice than deleting the
> cache dirs' contents?
>
>
> Thanks.
--
Joe Cooper <joe@swelltech.com>
Affordable Web Caching Proxy Appliances
http://www.swelltech.com
Received on Mon Mar 19 2001 - 10:18:31 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:58:43 MST