He Marco,
You better upgrade to debian bullseye and see if it happens there also.
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
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@xxxxxxxxxxxxxxxxxxxxx] Namens NgTech LTD
Verzonden: dinsdag 31 augustus 2021 17:11
Aan: Marcio B.
CC: Squid Users
Onderwerp: Re: [squid-users] Squid performance issuesHey 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@xxxxxxxxx>: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@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users