Two ways you can do this:
The first way:
Stop squid
rm -rf <your cache directory>
change cache_swap to a lower number.
run 'squid -z' to build the cache dirs again.
start squid up again.
The second way
change cache_swap to a lower number.
send a SIGHUP to squid.
squid will trim back to the disk-usage you specify.
To my way of thinking number two is easer, since it sounds like you have to
change the value of cache_swap regardless.
D
PS: Read the manual, the FAQ, and the release notes. All this information is
there. You can find them through links at http://nlanr.net/Squid
Alik Yuswanto wrote:
> Hello,
>
> I'm running Squid version 1.1.20, my disk is so limited until I get the
> message told me that my cacheis full.
> Could anyone show me what is the command for deleting the cache and start
> all over again with empty cache?
>
> Thanks.
>
> Alik
-- Did you read the documentation AND the FAQ? If not, I'll probably still answer your question, but my patience will be limited, and you take the risk of sarcasm and ridicule.Received on Tue Feb 10 1998 - 20:48:33 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:38:51 MST