Search squid archive

Re: Splitting objects by size into different cache_dir not working for me

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

 



On 25/01/2013 3:48 a.m., Luciano Ruete wrote:
Hi,

I'm trying to unload I/O on a bussy server (about 100M/bit Internet link and 3000 ISP customers), by splitting cache_dir on two different storages(and media) as an starting point (later I would like also to use SMP features, but for now I'm getting too many errors)



For starters please upgrade to 3.2.6. There is a recent log rotation regression present in 3.2 up to 3.2.5.


What I'have done is

workers 1
cache_dir rock /var/spool/squid/rock 10000 max-size=31000 max-swap-rate=250 swap-timeout=350
cache_dir aufs /var/spool/squid/aufs 300000 16 256 min-size=310001


There is a bug still in 3.2.6 whereby if any cache_dir line has max-size set they all need one. As a workaround you can take the value from maximum_object_size (which is the global disk maximum) and set it as max-size=N on your AUFS directory.


Amos


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

  Powered by Linux