Re: [squid-users] How to Clear Cache in SQUID

From: Dan Moore <[email protected]>
Date: Fri, 04 Jan 2008 15:55:11 -0700

Hi folks,

I believe this (clearing a cache, flushing a cache) is a FAQ:

http://wiki.squid-cache.org/SquidFaq/OperatingSquid#head-23466fef7b7d2e1e43f4a3b83564029116e1faef

Dan

s f wrote:
> You can also delete the swap.state file. Your cache files wont be
> deleted but replaced.
>
> On 1/4/08, Tim Bates <tin@new-life.org.au> wrote:
>> Remembering of course to lower the maximum cache size in the config too
>> so it doesn't get too much again...
>>
>> TB
>>
>> Cassiano Martin wrote:
>>> Shutdown squid and recreate the cache
>>>
>>> squid -k shutdown
>>> rm -rf /var/squid/cache/* (check if this is the real path)
>>> squid -z
>>> squid
>>>
>>> Tek Bahadur Limbu wrote:
>>>> Hi,
>>>>
>>>> TRM wrote:
>>>>> Hi List,
>>>>> My HardDisk is getting full, i want to clear the cache. how
>>>>> can do that?
>>>>>
>>>> If your cache resides in /var/squid/cache/
>>>>
>>>> rm -fr /var/squid/cache/
>>>>
>>>> then recreate the directory and rebuild it!!
>>>>
>>>>
>>>>
>>>
>>

-- 
Regards,
Dan Moore
Moore Consulting
mooreds@mooreds.com
http://www.mooreds.com/weblog/
720 560 8545
Received on Fri Jan 04 2008 - 15:57:02 MST

This archive was generated by hypermail pre-2.1.9 : Fri Feb 01 2008 - 12:00:04 MST