[squid-users] Squid high CPU usage after uprade to squid-3.4.4
Rejaine Monteiro
rejaine at bhz.jamef.com.br
Fri Dec 29 13:46:41 UTC 2017
Hi Eduardo, yes i'm brazilian, from Belo Horizonte / MG
I increased the value of max_filedescriptors "in squid.conf to 409 and
put in /etc/security/limits.conf the following configuration:
squid hard nofile 4096
squid soft nofile 4096
And run a 'ulimit -n 4096' to changevalue globaly without reboot
The /proc/sys/fs/file-max is 6557385, so I think dont need to increase
it ..
Now I will follow up and see if that solves ..
Thank you for your attention!
Em 29-12-2017 10:30, Eduardo Carneiro escreveu:
> Hello Rejaine. First of all, are you Brazilian? It's always good to have
> Brazilians around here. :D
>
> About your issue, squid.conf's "max_filedescriptors" parameter will solve
> your problem. Due to the large number of hits that I have, I also had to
> increase the number of squid's file descriptors.
>
> I also remember that you need to increase the number of descriptors in both
> Squid and the Operating System.
>
> I use Ubuntu and I had to change the /etc/sysctl.conf and
> /etc/security/limits.conf.
>
> I hope I've helped!
>
>
>
> --
> Sent from: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-Users-f1019091.html
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
--
Rejaine da Silveira Monteiro
Suporte - Tecnologia Digital
Tel: (31) 2102-8854
Jamef Encomendas Urgentes - Matriz - Belo Horizonte/MG
www.jamef.com.br
More information about the squid-users
mailing list