[squid-users] Squid performance issues

L.P.H. van Belle belle at bazuin.nl
Tue Aug 31 15:18:28 UTC 2021


He Marco, 

You better upgrade to debian bullseye and see if it happens there also. 
If you dont want that, try this. 

systemctl edit squid.service 
Add : 

[Service]
LimitNOFILE=65535
 
 
Save and run : systemctl restart squid

But i would recommend to use Debian Bullseye. 


Greetz, 

Louis
 
 

Van: squid-users [mailto:squid-users-bounces at lists.squid-cache.org] Namens NgTech LTD
Verzonden: dinsdag 31 augustus 2021 17:11
Aan: Marcio B.
CC: Squid Users
Onderwerp: Re: [squid-users] Squid performance issues



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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20210831/565013dc/attachment.htm>


More information about the squid-users mailing list