[squid-users] worker per cache_dir
Amos Jeffries
squid3 at treenet.co.nz
Thu Jun 4 02:43:04 UTC 2015
On 4/06/2015 5:18 a.m., Marcel Fossua wrote:
> Hi All
> hope someone can give me a way to accomplish what I have in mind
> I have 3.5.5 running with 9 workers active (the best numbers a get without
> errors)
> so I just set 1 worker per disk as schema below but I have a jbod with lot
> of disk I would like to add on squid.conf obviously the idea of 1 worker
> /disk is not longer a good deal then what is the best config to make let say
> worker 1 deal with several cache (3 or 4 for the occurence)
> so I could set 3 o 4 cache_dir per worker.
>
> Thanks
Sure, inside the worker if...endif block list the other cache_dir you
want it to deal with. Each worker can have up to 63.
So long as the AUFS cache_dir are only used by one worker it will work
fine. It is the other way around which is broken - multiple worker using
one AUFS cache_dir.
Amos
More information about the squid-users
mailing list