Re: Helper children defaults

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 01 Dec 2009 00:57:31 +1300

Henrik Nordstrom wrote:
> tor 2009-11-26 klockan 17:35 +1300 skrev Amos Jeffries:
>> I'm making the helper children configurable for on-demand startup so a
>> minimal set can be started and allowed to grow up to a max as determined
>> by traffic load.
>> Growth is triggered by helpers dying or requests needing to be queued
>> when all helpers are full.
>
> Drawback is that this fork can be quite expensive on larger squids, and
> then momentarily stops all forwarding under peak load. But overloaded
> helpers is generally worse so..
>
> Ideally the concurrent protocol should be used as much as possible,
> avoiding this..

Yes, when Kinkies muxer is ready this and that can combine to a very
powerful boost for the helpers.

>
>> * start 1 child synchronously on start/reconfigure
>> * new child helpers as needed in bunches of 2
>> * maximum running kept capped at 5.
>> ?
>
> I would increase the max to 20 or so.
>
>> This affects helpers for auth_param, url_rewrite, and external_acl_type.
>
> Why not dnsserver?

Yes, it's affected too.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE7 or 3.0.STABLE20
   Current Beta Squid 3.1.0.15
Received on Mon Nov 30 2009 - 11:57:43 MST

This archive was generated by hypermail 2.2.0 : Tue Dec 01 2009 - 12:00:05 MST