Search squid archive

Re: Your cache is running out of filedescriptors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is squid starting with a systemd service startup>? 

If so try: 
systemctl edit squid.service

Add at the Service section: 
[Service]
LimitNOFILE=8192:65535



Greetz, 

Louis


> -----Oorspronkelijk bericht-----
> Van: squid-users 
> [mailto:squid-users-bounces@xxxxxxxxxxxxxxxxxxxxx] Namens 
> Matus UHLAR - fantomas
> Verzonden: dinsdag 29 mei 2018 8:58
> Aan: squid-users@xxxxxxxxxxxxxxxxxxxxx
> Onderwerp: Re:  Your cache is running out of 
> filedescriptors
> 
> 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@xxxxxxxxxxxxxxxx>:
> >> 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@xxxxxxxxxxx ; 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
> _______________________________________________
> 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




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux