[squid-users] Your cache is running out of filedescriptors

Matus UHLAR - fantomas uhlar at fantomas.sk
Tue May 29 06:58:12 UTC 2018


On 28.05.18 15:54, Rejaine Monteiro wrote:
>Solved putting the following configuration in /etc/security/limits.conf file:
>
>squid           hard    nofile          4096
>squid           soft    nofile          4096

was there anything like that before? (including "*" in first column)

It's usually better not to put any limits there.

>2018-05-28 13:45 GMT-03:00 Rejaine Monteiro <rejaine at bhz.jamef.com.br>:
>> Hello everyone.
>>
>> My squid is running normally, but after a while it stops working and I
>> have to restart every time. The message that appears in the log is
>>
>>      "Your cache is running out of filedescriptors"
>>
>> I already configured the fs.file-max = 65535 parameter in /etc/sysctl.conf.
>>
>> I am running openSuse 13.2 and also configured in the
>> /etc/sysconfig/squid to SQUID_DEFAULT_ULIMT = "65535" and  in the
>> startup script /etc/rc.d/squid  SQUID_ULIMIT =${SQUID_DEFAULT_ULIMT: =
>> "65535"}
>>
>> Nothing solved !!! Any tips?

-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"One World. One Web. One Program." - Microsoft promotional advertisement
"Ein Volk, ein Reich, ein Fuhrer!" - Adolf Hitler


More information about the squid-users mailing list