Re: [squid-users] squid3 keeps many idle connections

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 24 Oct 2008 00:48:34 +1300

Malte Schröder wrote:
> On Thu, 23 Oct 2008 23:39:01 +1300
> Amos Jeffries <squid3_at_treenet.co.nz> wrote:
>
>> Malte Schröder wrote:
>>> On Thu, 23 Oct 2008 01:10:58 +0200
>>> Henrik Nordstrom <henrik_at_henriknordstrom.net> wrote:
>>>
>>>> On ons, 2008-10-22 at 11:31 +0200, Malte Schröder wrote:
>>>> Not normal.
>>>>
>>>> Squid version?
>>> 3.0.STABLE10
>>>
>>>> And how did you measure these? You are not counting TIME_WAIT sockets
>>>> are you?
>>> by getting cache_object://localhost/filedescriptors and checking
>>> sockets in ESTABLISHED state.
>>>
>>> I attached four files with the output of the filedescriptor page.
>>> "start" is the state directly after the launch of squid, 1 is the state
>>> after loading slashdot.org, 2 after reloading slashdot and 3 after
>>> an additional reload. I increased pconn_timeout to 5 minutes so the
>>> effect becomes more visible. The parent is a squid 2.6.STABLE20.
>>>
>> Okay, this is getting into stuff for squid-dev. cc'd.
>>
>> If you are able build your own squid this patch will at least lead an
>> indication of whats going on with the idle FD.
>
> Patch applied, filedescriptors after some reloads on slashdot attached.
>

Thanks.
...um... I was expecting to see the peer:port/domain listed uniquely
with each pconn FD.
This at least shows its a bug, not re-using the pconn at all like it
should be.

Amos

-- 
Please use Squid 2.7.STABLE4 or 3.0.STABLE9
Received on Thu Oct 23 2008 - 11:48:40 MDT

This archive was generated by hypermail 2.2.0 : Thu Oct 23 2008 - 12:00:05 MDT