Re: [squid-users] Caching is growing faster than releasing objects

From: Marcus Kool <marcus.kool_at_urlfilterdb.com>
Date: Wed, 30 Sep 2009 13:14:43 -0300

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
>
>
Received on Wed Sep 30 2009 - 16:14:55 MDT

This archive was generated by hypermail 2.2.0 : Thu Oct 01 2009 - 12:00:05 MDT