Search squid archive

Re: filedescriptor usage observation in 3.2.0.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm currently running 2.7.STABLE9, and don't see any FD leaking issue.
 It might be in your version, but not common.

Please check the CacheMgr Info page, and the FD page for details on
how those FDs are being used.  Perhaps it will make things more clear.

Our Squid has been running with the following:

Started on: 31/July/2010
Clients acessing:  3,735
Avg HTTP req/sec:  12,288
Avg ICP req/sec:  16,956
Storage Swap Size:  420 GB
Stroage Mem Size:  1 GB
Mean Object Size:  84 KB
MAX FDs used:  14,701
Current FD usage:  10,362

We run on generic hardware:
Quad Core Intel 2.33 GHz with 2MB Cache
Generic Intel Desktop Motherboard
1 x 80 GB IDE for OS and Logs
4 x 160 GB SATA 3.0 Gbps  for Squid storage

I've also just checked the File Descriptor Details page, and found as
many FD listed as shown by the "Current FD Usage" on the Info page.

Regards
HASSAN



On Sat, Aug 14, 2010 at 18:30, Ralf Hildebrandt
<Ralf.Hildebrandt@xxxxxxxxxx> wrote:
>
> * Nyamul Hassan <mnhassan@xxxxxxx>:
> > File Descriptor count and Cache Client count are not the same thing.
> >
> > File Descriptors are needed whenever Squid has to write / read to a
> > file or the network (server or client side).  So, even if only one
> > user is using, Squid might have needed 50 FDs.
>
> Yes. During the night, when nobody's working and with almost no
> traffic the FD count stays as high as during the day.
>
> > If the cache.log is giving warnings about Squid running out of FDs,
> > then please increase them.
>
> It's leaking FDs. See my bugreports.
>
> > CacheClients, on the other hand, is not something that Squid can keep
> > track of accurately.  For example, if whenever a request has been
> > served to the client, Squid has no means of finding out if that client
> > is still online and reading the content just served, or has the client
> > switched off.
>
> OK
>
> > That is why, Squid keeps the client as "online" in that CacheClients
> > count, until a certain time, after which Squid lowers the number.
>
> Where is that "certain time" defined?
>
> --
> Ralf Hildebrandt
>  Geschäftsbereich IT | Abteilung Netzwerk
>  Charité - Universitätsmedizin Berlin
>  Campus Benjamin Franklin
>  Hindenburgdamm 30 | D-12203 Berlin
>  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
>  ralf.hildebrandt@xxxxxxxxxx | http://www.charite.de
>



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux