Re: RES: RES: [squid-users] Squid box dropping connections

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sun, 20 Nov 2011 17:46:21 +1300

On 19/11/2011 1:55 a.m., Nataniel Klug wrote:
> Hello Amos,
>
>>> [Nataniel Klug] So Eliezer, I don't think I have 155k connections.
>>> Most of them are FIN_WAIT1 (about 35~45k). I have 1000 pppoe clients
>>> behind this squid box so even if each of them had 50 connections, I
>>> would have 50k. I think closing really fast can solve the problem. I
>>> set it to close on 5 minutes and I will make a try right now.
>> Some assumption in there needs a double-check. Modern websites can use
>> 50 (or more) connections to load any given page. Clients are not
> uncommonly
>> having several such pages browsing at once in tabbed browser agents. And
>> Squid uses 2x sockets per client connection.
>>
>> So, while 150K for 1K clients does seem unusual normally. It is within the
>> upper limits they *could* be using if they happend to all be browsing at
> the
>> same time. I would expect to see some correspondingly high request rate in
>> the Squid stats though.
>>
>> Amos
> [Nataniel Klug] How can I see if there is corresponding requests on squid?
>
> Att,
>
> Nataniel Klug
>

squidclient mgr:utilization | grep "syscalls.sock.accepts"

You can also get the report of what the open FD are used for in
mgr:filedescriptors

Amos
Received on Sun Nov 20 2011 - 04:46:27 MST

This archive was generated by hypermail 2.2.0 : Mon Nov 21 2011 - 12:00:03 MST