Luis Daniel Lucio Quiroz wrote:
> Le mercredi 30 septembre 2009 11:14:43, Marcus Kool a écrit :
>> What are the values for the parameters cache_swap_low and cache_swap_high ?
>> For a large cache it is recommended to have them close to each other. E.g.
>> cache_swap_low 90
>> cache_swap_high 91
>>
>> You can also add
>> refresh_pattern (cgi-bin|\?) 0 0% 0
>> since dynamic pages should not be cached.
>>
>> Marcus
>>
>> Luis Daniel Lucio Quiroz wrote:
>>> Hi all,
>>>
>>> Well, after implementing cache, in a heavy environment (with about 5k
>>> users) I'm seeing that our squid is not freeing far enough objects, our
>>> 100GB disk cache fills in 5 days. I wonder I misunderstood
>>> refresh_pattern options.
>>>
>>> I have this:
>>>
>>> refresh_pattern -i \.png$ 2880 1% 5760
>>> refresh_pattern -i \.zip$ 0 1% 1440
>>> refresh_pattern . 0 20% 4320
>>>
>>>
>>> I wonder to know how would be if I want to keep objects 4 days and in 5th
>>> object could be discarted.
>>>
>>> TIA
>>>
>>> LD
> cache_swap_low 95
> cache_swap_high 97
>
> is this enoght=?
If the disk gets full....
It gets full because there is too little space in the file system
or the space is reclaimed too slow by Squid.
What is the output of 'df' ?
What are the values for parameter cache_dir ?
And I recommend to change the parameters:
cache_swap_low 93
cache_swap_high 94
-Marcus
Received on Wed Sep 30 2009 - 20:22:44 MDT
This archive was generated by hypermail 2.2.0 : Thu Oct 01 2009 - 12:00:05 MDT