Re: Helper children defaults

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Fri, 27 Nov 2009 04:06:19 +0100

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..

> * 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?

Regards
Henrik
Received on Fri Nov 27 2009 - 03:06:25 MST

This archive was generated by hypermail 2.2.0 : Mon Nov 30 2009 - 12:00:06 MST