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@squidprod ~]# cat /proc/sys/fs/file-nr 4736 0 3256314 [root@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. Thanks, Naresh -----Original Message----- From: squid-users [mailto:squid-users-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Antony Stone Sent: Friday, October 5, 2018 5:06 PM To: squid-users@xxxxxxxxxxxxxxxxxxxxx Subject: Re: socket failure: (24) Too many open files On Friday 05 October 2018 at 22:08:16, Cherukuri, Naresh wrote: > For just squid process open files count. > > [root@squidprod ~]# lsof -c squid | wc -l > 4385 Squid is not the only thing running on this machine... > [root@squidprod ~]# lsof | wc -l > 10875 But you seem to have sufficient file descriptors configured *in Squid* (but maybe not in the O/S): > [root@squidprod ~]# cat /etc/squid/squid.conf | grep "max_filedescriptors" > max_filedescriptors 8192 So, Squid can have 8192 FDs. > ulimit -a value > [root@squidprod ~]# ulimit -a > open files (-n) 8192 ...and the system will provide 8192 FDs for every process combined... > [root@squidprod ~]# lsof | wc -l > 10875 I reckon that may well be your problem - you have a system-wide limit of 8192 file descriptors, and yet you are trying to use 10875 open files (this will include local pipes, sockets, etc, so it's understandable that it's higher, but it indicates you're going over the limit). > Thanks, > Naresh And, as I asked previously: What do "cat /proc/sys/fs/file-max" and "cat /proc/sys/fs/file-nr" tell you? 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? Antony. -- A good conversation is like a miniskirt; short enought to retain interest, but long enough to cover the subject. - Celeste Headlee Please reply to the list; please *don't* CC me. _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users