Re: [squid-users] clean cache and TCP_SWAPFAIL_MISS?

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sun, 20 May 2012 19:24:22 +1200

On 20/05/2012 3:06 p.m., Eliezer Croitoru wrote:
> you need to stop squid and do a squid -z
> and then start squid again.
> by using the rm -rf ...
> you are erasing the cache dirs which is done by using the squid -z
>
> Eliezer
> On 20/05/2012 05:49, Beto Moreno wrote:
>> Sorry, for all the list:
>>
>> stop squid.
>> remove cache dir rm -rf cache/
>> mkdir cache
>> chown proxy:proxy cache/
>> squid -z
>> echo " "> access.log
>> squid start
>>
>> Done, is correct?

That is correct for erasng the cache, yes.

SWAPFAIL then is a sign that a) Squid is not actually stopping, or b) a
different squid instance is logging to access.log and/or playing with
the cache, or c) disk corruption is happening during your tests.

Amos
Received on Sun May 20 2012 - 07:24:29 MDT

This archive was generated by hypermail 2.2.0 : Sun May 20 2012 - 12:00:03 MDT