Re: [squid-users] File Descriptors

From: Henrik Nordstrom <[email protected]>
Date: Sat, 03 Feb 2007 22:13:33 +0100

fre 2007-02-02 klockan 14:25 -0200 skrev Michel Santos:

> >When Squid sees it's short of filedescriptors it stops accepting
> > new requests, focusing on finishing what it has already accepted.
>
> isn't this conflicting with what you said before?

No.

> do squid recover or do it need to be restarted?

depends on the reason to the filedescriptor shortage.

If the shortage is due to Squid using very many filedescriptors then no
action need to be taken (except perhaps increase the amount of
filedescriptors available to Squid to avoid the problem in future).
Squid automatically adjusts to the per process limit and hitting the
system wide limit if it's lower than the per-process limit.

If the shortage is due to some other process causing the systems as a
whole to temporarily run short of filedescriptors or related resources
then you need to restart Squid after fixing the problem as Squid has got
fooled in this situation into thinking that your system can not support
a reasonable amount of active connections.

Regards
Henrik

Received on Sat Feb 03 2007 - 14:13:42 MST

This archive was generated by hypermail pre-2.1.9 : Thu Mar 01 2007 - 12:00:01 MST