[squid-users] RE: Too Many Open File Descriptors

From: Justin Lawler <jlawler_at_amdocs.com>
Date: Wed, 10 Aug 2011 05:47:12 +0300

Hi,

We have two instances of squid (3.0.15) running on a solaris box. Every so often (like many once every month) we get a load of below errors:

"2011/08/09 19:22:10| comm_open: socket failure: (24) Too many open files"

Sometimes it goes away of its own, sometimes squid crashes and restarts.

When it happens, generally happens on both instances of squid on the same box.

We have number open file descriptors set to 2048 - using squidclient mrg:info:

root_at_squid01# squidclient mgr:info | grep file
        Maximum number of file descriptors:   2048
        Largest file desc currently in use:   2041
        Number of file desc currently in use: 1903
        Available number of file descriptors:  138
        Reserved number of file descriptors:   100
        Store Disk files open:                  68

We're using squid as an ICAP client. Both squid instances point two different ICAP servers, so it's unlikely a problem with the ICAP server.

Is this a known issue? As its going on for a long time (over 40 minutes continuously), it doesn't seem like it's just the traffic spiking for a long period. Also, we're not seeing it on other boxes, which are load balanced.

Any pointers much appreciated.

Regards,
Justin
This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp
Received on Wed Aug 10 2011 - 02:47:27 MDT

This archive was generated by hypermail 2.2.0 : Wed Aug 10 2011 - 12:00:01 MDT