On 02/27/2013 11:30 AM, Luciano Ruete wrote:
> Hi,
>
> In a multiple workers setup, it is safe to avoid
> rewrite_children/url_rewrite_program/url_rewrite_access lines for the
> squid-coord proccess?
Yes, it should be safe.
> Because real request are only going to reach workers and not
> coordinator, right?
Right.
> So in my squid.conf i have:
>
> if ${process_number} = 1
> url_rewrite_program ...
> url_rewrite_children 30 startup=5 idle=5
> ...
> endif
> if ${process_number} = 2
> url_rewrite_program ...
> url_rewrite_children 30 startup=5 idle=5
> ...
> endif
You may find it easier to use an else clause. For example, assuming your
Coordinator process is process #3:
if ${process_number} = 3
# no helpers for Coordinator
else
url_rewrite_program ...
url_rewrite_children 30 startup=5 idle=5
endif
HTH,
Alex.
Received on Wed Feb 27 2013 - 22:10:59 MST
This archive was generated by hypermail 2.2.0 : Thu Feb 28 2013 - 12:00:04 MST