Re: [squid-users] filedescriptor usage observation in 3.2.0.1

From: Ralf Hildebrandt <Ralf.Hildebrandt_at_charite.de>
Date: Sat, 14 Aug 2010 14:30:07 +0200

* Nyamul Hassan <mnhassan_at_usa.net>:
> 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@charite.de | http://www.charite.de
	    
Received on Sat Aug 14 2010 - 12:30:17 MDT

This archive was generated by hypermail 2.2.0 : Mon Aug 16 2010 - 12:00:02 MDT