[squid-users] Squid performance issues

Klaus Brandl klaus_brandl at genua.de
Tue Aug 31 15:18:26 UTC 2021


look at your cache.log, after squid is starting, there you can see, how
much filedescriptors are available:

2021/08/31 17:14:36.870 kid1| With 1024 file descriptors available

Maybe there is a file like /etc/default/squid:

SQUID_MAXFD=1024

Regards

Klaus

Am Dienstag, dem 31.08.2021 um 18:10 +0300 schrieb NgTech LTD:
> Hey Marcio,
> 
> You will need to add a systemd service file that extends the current
> one with more FileDescriptors.
> 
> I cannot guide now I do hope to be able to write later.
> 
> If anyone is able to help faster go ahead.
> 
> Eliezer
> 
> 
> בתאריך יום ג׳, 31 באוג׳ 2021, 18:05, מאת Marcio B.
> ‏<marciobacci at gmail.com>:
> > Hi,
> > 
> > I implemented a Squid server in version 4.6 on Debian and tested it
> > for about 40 days. However I put it into production today and
> > Internet browsing was extremely slow.
> > 
> > In /var/log/syslog I'm getting the following messages:
> > 
> > Aug 31 11:29:19 srvproxy squid[4041]: WARNING! Your cache is
> > running out of filedescriptors
> > 
> > Aug 31 11:29:35 srvproxy squid[4041]: WARNING! Your cache is
> > running out of filedescriptors
> > 
> > Aug 31 11:29:51 srvproxy squid[4041]: WARNING! Your cache is
> > running out of filedescriptors
> > 
> > 
> > I searched the Internet, but I only found very old information and
> > referring files that don't exist on my Squid Server.
> > 
> > The only thing I did was add the following value to the
> > /etc/security/limits.conf file:
> > 
> > *-nofile 65535
> > 
> > however this did not solve.
> > 
> > Does anyone have any idea how I could solve this problem?
> > 
> > Regards,
> > 
> > Márcio Bacci
> > _______________________________________________
> > squid-users mailing list
> > squid-users at lists.squid-cache.org
> > http://lists.squid-cache.org/listinfo/squid-users
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users



More information about the squid-users mailing list