Re: [squid-users] Workers reconfigure-question on 3.2.5

From: Tom Tom <tomtux007_at_gmail.com>
Date: Tue, 8 Jan 2013 15:15:25 +0100

I opened a bug
http://bugs.squid-cache.org/show_bug.cgi?id=3733

Thanks for your help.
Tom

On Tue, Jan 8, 2013 at 12:28 PM, Amos Jeffries <squid3_at_treenet.co.nz> wrote:
> There is a bug here in that coordinator should not be opening itself a
> cache_dir. It is obviously prevented from doing so on startup, but the
> reconfigure code apparently is still trying to do so.
> Please report the details to replicate this in our bugzilla at
> bugs.squid-cach.org.
>
> There is also a unrelated config problem... details below on that...
>
>
> On Mon, Jan 7, 2013 at 11:51 PM, Tom Tom wrote:
>
>> Hi
>>
>> I just added the following lines:
>> workers 4
>> cache_dir aufs /squid-cache0${process_number} 100000 64 512
>> cache_dir aufs /squid-cache0${process_number} 100000 64 512
>> cache_dir aufs /squid-cache0${process_number} 100000 64 512
>> cache_dir aufs /squid-cache0${process_number} 100000 64 512
>
>
> What this means is that there are 16 cache directories... each of 4 workers
> owns 4 caches which happen to be named identically.
>
> You should have unique cache_dir paths on every cache_dir in the config
> file. Use of ${process_number} ensures that each worker has a non-colliding
> location with other workers. So you only need one of the above cache_dir
> lines to make all workers use unique directory locations.
>
> HTH
> Amos
Received on Tue Jan 08 2013 - 14:15:34 MST

This archive was generated by hypermail 2.2.0 : Wed Jan 09 2013 - 12:00:07 MST