Re: [squid-users] One Squid uses more filedescriptors, but why?

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sat, 29 Oct 2011 23:39:14 +1300

On 28/10/11 03:17, Ralf Hildebrandt wrote:
> I have four squid-3.1.6 instances with IDENTICAL config, clustered
> using ldirector. One of those proxies is using many more FDs:
>
> squidclient -p 8080 -l 127.0.0.1 mgr:info | grep 'file descri'
>
> Maximum number of file descriptors: 8192
> Available number of file descriptors: 3430
> Reserved number of file descriptors: 100
>
> The other three:
> Maximum number of file descriptors: 8192
> Available number of file descriptors: 6500
> Reserved number of file descriptors: 100
>
> Maximum number of file descriptors: 8192
> Available number of file descriptors: 6691
> Reserved number of file descriptors: 100
>
> Maximum number of file descriptors: 8192
> Available number of file descriptors: 6653
> Reserved number of file descriptors: 100
>
> What are the filedescriptors used for?
>

The "filedescriptors" report will tell you exactly what they are used
for (or last used for if idle).

"One per file, helper, client connection, server connection" is the
brief overview.

It's all relative to client traffic type, amount and particular
responses coming back, AND any load balancing being done. So the details
will be specific to each of those proxies.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.16
   Beta testers wanted for 3.2.0.13
Received on Sat Oct 29 2011 - 10:39:41 MDT

This archive was generated by hypermail 2.2.0 : Sat Oct 29 2011 - 12:00:04 MDT