[squid-users] socket failure: (24) Too many open files

Amos Jeffries squid3 at treenet.co.nz
Tue Oct 9 00:55:04 UTC 2018


On 9/10/18 2:14 AM, Cherukuri, Naresh wrote:
> Yes, I have also splunk running on this machine.
> 
> 
>> What do "cat /proc/sys/fs/file-max" and "cat /proc/sys/fs/file-nr" tell you?
> 
> [root at squidprod ~]# cat /proc/sys/fs/file-nr
> 4736    0       3256314
> [root at squidprod ~]# cat /proc/sys/fs/file-max
> 3256314
> 
>> How many users do you have, what sort of number of connections per 
> second/minute/hour (whatever is convenient for you to express) do you have 
> going through this machine?
> 
> I am not sure, but I would say more than 3000 connections per minute.
> 

The Squid "info" manager report (squidclient mgr:info) contains the
req/min details. Since you are running out of FD the number Squid
reports as being used will be a lower bound on how many it could be
handling if there were enough FD.

Amos


More information about the squid-users mailing list