Search squid archive

Re: filedescriptor usage observation in 3.2.0.1

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

 



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.

If the cache.log is giving warnings about Squid running out of FDs,
then please increase them.

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.

That is why, Squid keeps the client as "online" in that CacheClients
count, until a certain time, after which Squid lowers the number.

Regards
HASSAN


On Sat, Aug 14, 2010 at 15:17, Ralf Hildebrandt
<Ralf.Hildebrandt@xxxxxxxxxx> wrote:
>
> I noticed that squids use of filedescriptors is ever increasing.
> Today, after a restart, the numbers would drop again - to normal levels.
>
> I found that the decrease in filedescriptors ("cacheCurrentFileDescrCnt")
> correlated in a similar decrease in the number of clients
> ("cacheClients").
>
> Coulod it be that squid is not freeing or expiring cacheClients
> properly? On the weekend there are only few people working at the
> hospital, thus the number I saw a few minutes ago, immediately before
> the restart were totall unrealistic: cacheClients was at 4.500 for all
> 4 proxies, meaning that everybody @charite was using the proxy...
>
> --
> 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