Re: /bzr/squid3/trunk/ r11740: Do not let cache manager requests kill SMP Squid using isOpen() assertion.

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sat, 17 Sep 2011 20:06:30 +1200

On 17/09/11 20:01, Amos Jeffries wrote:
<snip>
>
> So I'm thinking option (4), with option (1) in specific cases would be
> best.
> Option (3) whenever we fiddle with the fd directly. Option (1) whenever

Oops. s/3/4/

> its known that the FD will be used. Possibly some time after option (3)

s/3/4/

> was done, so unsetting the half-imported flag if set earlier. This way
> we avoid fd_table and related CPU consumptions entirely for most of
> these. And still roughly follow the semantics of what the flags mean:
> things done when opening this FD, so we can repeat the sequence in
> comm_reset() as needed.
>

[renumbered the options for your #2, but missed a few references]

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.15
   Beta testers wanted for 3.2.0.11
Received on Sat Sep 17 2011 - 08:06:43 MDT

This archive was generated by hypermail 2.2.0 : Sat Sep 17 2011 - 12:00:03 MDT