[squid-users] squid centos and osq_lock

Josip Makarevic jmakarevic at gmail.com
Thu Jul 30 20:05:35 UTC 2015


Hi,

I have a problem with squid setup (squid version 3.5.6, built from source,
centos 6.6)
I've tried 2 options:
1. SMP
2. NON-SMP

I've decided to stick with custom build non-smp version and the thing is:
- i don't need cache - any kind of it
- I have DNS cache just for that
- squid has to listen on 1024 ports on 23 instances.
each instance listens on set of ports and each port has different outgoing
ip address.

The thing is this:
It's alll good until we hit it with more than 150mbits then...

(output from perf top)
 84.57%  [kernel]                  [k] osq_lock
  4.62%  [kernel]                  [k] mutex_spin_on_owner
  1.41%  [kernel]                  [k] memcpy
  0.79%  [kernel]                  [k] inet_dump_ifaddr
  0.62%  [kernel]                  [k] memset

 21:53:39 up 7 days, 10:38,  1 user,  load average: 24.01, 23.84, 23.33
(yes, we have 24 cores)
Same behavior is with SMP and NON-SMP setup (SMP setup is all in one file
with workers 23 option but then I have to use rock cache)

so, my question is....what...how to optimize this.....whatever....I'm stuck
for days, I've tried many sysctl options but none of them works.
Any help, info, something else?


Thanks,
J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20150730/5589247f/attachment.html>


More information about the squid-users mailing list