Re: [PATCH] immortal helpers

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Fri, 19 Feb 2010 21:44:53 -0700

On 02/19/2010 09:12 PM, Amos Jeffries wrote:
> This patch adds an advanced option to the Squid helper controls which
> overrides Squid dying when helpers crash.
>
> It has been found necessary in certain corner cases with PHP helpers
> (which have system imposed limited lifetimes) where a proxy has
> previously been under some load and helpers started then are timed out
> later under low load as a bunch. Squid may die and restart.
>
> If the proxy has been started under existing high load conditions (such
> as a backup coming online) this case may also occur shortly after
> startup. Leading to a chain reaction of restarts until load drops below
> number of helpers needed to trigger a death.
>
> These cases depend on external forces or helper design closing the
> helpers outside Squid control.
>
>
> There is one known issue with this option:
>
> If the helpers are really dying due to some fatal issue during their
> startup the use of this option would result in Squid hanging while
> infinitely re-starting helpers and doing no request processing.

Missing squid.conf documentation update?

I think "immortal" is a little strange choice for helpers that die all
the time :-). How about "phoenix"? It is not an adjective but it fits:

> phoenix
>
> * A phoenix is an imaginary bird which, according to ancient stories,
> burns itself to ashes every five hundred years and is then born again.
>
> * If you describe someone or something as a phoenix, you mean that they
> return again after seeming to disappear or be destroyed. N-SING literary

Cheers,

Alex.
Received on Sat Feb 20 2010 - 04:45:18 MST

This archive was generated by hypermail 2.2.0 : Sat Feb 20 2010 - 12:00:08 MST