Squid SMP Workers Not Working
-
Hello All,
I Don´t know if this is the correct place to put this question, sorry If i´m wrong.I´m having a problem for almost a month with a Squid 3.4 install on Pfsense, after suffering with performance issues when my clients computers are set up to use the proxy, I realize that squid only open one process and this process just use one core of my proc.
So after found that, I started try to use SQUID SMP workers to open more instances so squid can use all my cores and balance load.
But when I set the workers variable on squid "Custom ACLS (Before Auth)" I got some error on cache.log and only the coordinator process loads.
Please is anyone can help me with that?
Bellow my configuration:workers 3
auth_param ntlm program /usr/pbi/squid-amd64/local/libexec/squid/ntlm_auth –configfile=/usr/pbi/squid-amd64/etc/smb4.conf --helper-protocol=squid-2.5-ntlmssp
auth_param ntlm children 500
auth_param ntlm keep_alive on
acl password proxy_auth REQUIRED
http_access allow all passwordWhen I start the services I got the following errors on cache.log:
2016/01/21 20:44:15 kid3| Starting Squid Cache version 3.4.10 for amd64-portbld-freebsd10.1...
2016/01/21 20:44:15 kid2| Starting Squid Cache version 3.4.10 for amd64-portbld-freebsd10.1...
2016/01/21 20:44:15 kid4| Starting Squid Cache version 3.4.10 for amd64-portbld-freebsd10.1...
2016/01/21 20:44:15 kid1| Starting Squid Cache version 3.4.10 for amd64-portbld-freebsd10.1...
FATAL: kid2 registration timed out
Squid Cache (Version 3.4.10): Terminated abnormally.
CPU Usage: 0.182 seconds = 0.094 user + 0.088 sys
Maximum Resident Size: 106880 KB
Page faults with physical i/o: 0
FATAL: kid3 registration timed out
Squid Cache (Version 3.4.10): Terminated abnormally.
CPU Usage: 0.182 seconds = 0.114 user + 0.068 sys
Maximum Resident Size: 107072 KB
Page faults with physical i/o: 0
FATAL: kid1 registration timed out
Squid Cache (Version 3.4.10): Terminated abnormally.
CPU Usage: 0.181 seconds = 0.118 user + 0.063 sys
Maximum Resident Size: 107040 KB
Page faults with physical i/o: 0
2016/01/21 20:44:24 kid2| Starting Squid Cache version 3.4.10 for amd64-portbld-freebsd10.1...
2016/01/21 20:44:27 kid1| Starting Squid Cache version 3.4.10 for amd64-portbld-freebsd10.1...
2016/01/21 20:44:27 kid3| Starting Squid Cache version 3.4.10 for amd64-portbld-freebsd10.1...
FATAL: kid2 registration timed out
Squid Cache (Version 3.4.10): Terminated abnormally.
CPU Usage: 0.163 seconds = 0.129 user + 0.034 sys
Maximum Resident Size: 107008 KB
Page faults with physical i/o: 0
FATAL: kid1 registration timed out
Squid Cache (Version 3.4.10): Terminated abnormally.
CPU Usage: 0.167 seconds = 0.117 user + 0.050 sys
Maximum Resident Size: 107040 KB
Page faults with physical i/o: 0
FATAL: kid3 registration timed out
Squid Cache (Version 3.4.10): Terminated abnormally.
CPU Usage: 0.171 seconds = 0.123 user + 0.047 sys
Maximum Resident Size: 106624 KB
Page faults with physical i/o: 0I already changed this configurations on sysclt as mentioned on oficial wiki "http://wiki.squid-cache.org/Features/SmpScale"
net.local.dgram.recvspace: 262144
net.local.dgram.maxdgram: 16384do anyone have an idea to resolve that?
Thanks
-
Hi I´m back,
I resolved that, just putted the net.local.dgram.recvspace: 262144 net.local.dgram.maxdgram: 16384 variables on advanced tab of pfsense and it´s working now.
Thanks everyone.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy