Solved putting the following configuration in /etc/security/limits.conf file:

squid           hard    nofile          4096
squid           soft    nofile          4096

2018-05-28 13:45 GMT-03:00 Rejaine Monteiro <reja...@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?
_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

Reply via email to