Re: [PATCH] immortal helpers

From: Kinkie <gkinkie_at_gmail.com>
Date: Sat, 20 Feb 2010 14:14:17 +0100

On Sat, Feb 20, 2010 at 10:30 AM, Amos Jeffries <squid3_at_treenet.co.nz> wrote:
> Alex Rousskov wrote:
[...]

> The dynamic helpers are already phoenix. This is about making Squid itself
> immortal to the flames as they regenerate.
>
> I've left the doc out for now since I'm not sure I really want this to be
> widely used until we can get rid of the fork bomb as Kinkie named it.
>
>
> If anyone can think of a reliable way to detect broken helper crashes while
> also permittig 100% of the helpers to exist at any given time (real closure
> exit, not a crash). I'd really like to be able to do that instead of all
> this close-per-time fudging.

The most reliable thing we have is the exit value from helpers, and
hope that helper writers are well written.

> Kinkie,
>  the non-use of this option keeps things flowing with detection of N/30sec
> being fatal to Squid and aborting a fork loop. It's not working too well
> when N=1 and count closing is >1 though.

I'm sorry, I haven't read the code. If it is so, then it's good enough
for what I was suggesting.

-- 
    /kinkie
Received on Sat Feb 20 2010 - 13:14:24 MST

This archive was generated by hypermail 2.2.0 : Sun Feb 21 2010 - 12:00:07 MST