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

Cherukuri, Naresh ncherukuri at partycity.com
Tue Oct 9 14:49:09 UTC 2018


Thank you for quickturnover!

I bumped  FD from 8k to 16k.

Thanks,
Naresh


-----Original Message-----
From: Eliezer Croitoru [mailto:eliezer at ngtech.co.il] 
Sent: Monday, October 8, 2018 3:18 PM
To: Cherukuri, Naresh
Cc: 'squid-users at lists.squid-cache.org'
Subject: Re: [squid-users] socket failure: (24) Too many open files

I recommend Squid upgrade if possible due to couple bugs as something..
Try to bump the server to 32k open file descriptors and see what 
happens.
Depends on the load on the server it might need at peek times more then 
8k.
The cache manage info page should give you couple technical details on 
the status of the service.
It can also give some statistics which might shed some light on the 
scenario.
Others might be able to give you some more detail on the relevant cache 
manager pages.

https://wiki.squid-cache.org/Features/CacheManager

Eliezer

On 2018-10-05 18:57, Cherukuri, Naresh wrote:
> Hello Squid Group,
> 
> I am using squid 3.5.20 as a proxy server.  I Increased the memory
> from 12 GB to 32 GB and Max file descriptors from "4096" to "8192" and
> deployed this server into production on 09/26/2018".
> 
> I don't have any problem from the past 10 days everything working as
> expected till today. Now after 10 days for the first time, I got
> following errors on cache log today. Can someone advise/suggest any
> ideas here?
> 
> Error(s) in /var/log/squid/cache.log: 2018/10/05 11:03:59 kid1|
> comm_open: socket failure: (24) Too many open files
> 
> 2018/10/05 11:03:59 kid1| comm_open: socket failure: (24) Too many
> open files
> 
> 2018/10/05 11:03:59 kid1| comm_open: socket failure: (24) Too many
> open files
> 
> 2018/10/05 11:03:59 kid1| comm_open: socket failure: (24) Too many
> open files
> 
> 2018/10/05 11:03:59 kid1| comm_open: socket failure: (24) Too many
> open files
> 
> 2018/10/05 11:03:59 kid1| comm_open: socket failure: (24) Too many
> open files
> 
> 2018/10/05 11:03:59 kid1| comm_open: socket failure: (24) Too many
> open files
> 
> 2018/10/05 11:03:59 kid1| comm_open: socket failure: (24) Too many
> open files
> 
> 2018/10/05 11:03:59 kid1| comm_open: socket failure: (24) Too many
> open files
> 
> [n*****@squidprod ~]$ free -m
> 
>              total       used       free     shared    buffers
> cached
> 
> Mem:         32004      15907      16097        138        295
> 14132
> 
> -/+ buffers/cache:       1480      30524
> 
> Swap:        24999          0      24999
> 
> Thanks,
> 
> Naresh
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users

-- 
----
Eliezer Croitoru
Linux System Administrator
Mobile: +972-5-28704261
Email: eliezer at ngtech.co.il


More information about the squid-users mailing list