Network Troublshooting > Linux Proxy Server Support
How to Clear squid cache
dragoncity99:
Hi guys,
Anyone of u know how to clear squid's cache. I'm using Fedora Core 1
Thank you! in advance.
Ricky:
Well ther is no specific way to clear squid cache..
What i do is change the name of the squid cache directory and then give new directory in squid.conf and delete the old one.. then initialize new one from -z directive
dragoncity99:
OIC, what it i dont use the -z directive ricky?
It works for me. I wonder why???? Weird....
For me to clear cache, i'm currently using this method:
1. Stop squid
2. Set a null byte to "swap.state" file using command
echo "" > swap.state
3. Then start the squid back.
Ricky:
I kno that one but I prefer my method.. ;) I had seen your method mentioned in various squid docs.. but few it caused me prob..
two time I had prob of "squid space over limit" then this one don't works..
dragoncity99:
Oh ok ok. IC now. 10q :)
Oh yes, ur method right when i forget to use the -z option how come it's still able to run? Will this mean that the cache will be still be done on previous cache directory if i don't delete the previous directory?
Have u ever tried to control bandwidth per user basis on squid? Just like cbq did to control the bandwidth of internet bandwidth in a LAN?
Navigation
[0] Message Index
[#] Next page
Go to full version