Re: [squid-users] Splitting objects by size into different cache_dir not working for me

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 25 Jan 2013 12:44:35 +1300

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
Received on Thu Jan 24 2013 - 23:44:45 MST

This archive was generated by hypermail 2.2.0 : Fri Jan 25 2013 - 12:00:05 MST