Re: [squid-users] Cache size is decreasing

From: Mr. Issa\(*\) <xnixguy_at_gmail.com>
Date: Wed, 31 Mar 2010 21:44:35 +0300

/dev/sdc1 1.8T 339G 1.4T 20% /cache1
/dev/sdd1 1.8T 333G 1.4T 20% /cache2

pr0xySRV:~# more /etc/squid/squid.conf |grep cache_swap_high ; more
/etc/squid/squid.conf |grep cache_swap_low
cache_swap_high 95
cache_swap_low 94

it didnt even reach 60% of its usage.... This appeared after upgrading
from Stable7 to Stable9

So what could be the reason?

On Mon, Mar 29, 2010 at 8:31 AM, Amos Jeffries <squid3_at_treenet.co.nz> wrote:
> Mr. Issa(*) wrote:
>>
>> Dear mates, I hope you enjoy your weekend... :)
>>
>> I did compile/install Squid2.7Stable9 and i noticed something
>>
>> /dev/sdc1             1.8T  355G  1.4T  21% /cache1
>> /dev/sdd1             1.8T  352G  1.4T  21% /cache2
>> the /cache1 & cache2 dirs where 370G each.. suddenly they are
>> decreasing and the servers load is approximately high.... What could
>> cause that?
>
> Well, I guess the server load is caused by all the work needed to remove the
> items from cache.
>
> Items being removed from cache wholesale like this is usually caused by one
> of the garbage collection limits being reached.
>  cache_swap_high / cache_swap_low
> http://www.squid-cache.org/Doc/config/cache_swap_high/
>
> NP: the large cache disclaimer applies to anyone with around 10GB or more of
> cached data.
>
> Amos
> --
> Please be using
>  Current Stable Squid 2.7.STABLE8 or 3.0.STABLE25
>  Current Beta Squid 3.1.0.18
>
Received on Wed Mar 31 2010 - 18:44:43 MDT

This archive was generated by hypermail 2.2.0 : Thu Apr 01 2010 - 12:00:05 MDT