Search squid archive

Re: Caching is growing faster than releasing objects

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux