[squid-users] squid with SMP registeration time out when i use 10K opened sessions

Amos Jeffries squid3 at treenet.co.nz
Wed Sep 30 00:45:43 UTC 2015


Scalable Multi-Process (SMP) Squid is multi-process.

What you are doing here is running 5x collections (instances) of Squid
processes (plural!).

squid1.conf
 cpu_affinity_map process_numbers=1,2 cores=1,1

squid2.conf
  cpu_affinity_map process_numbers=1,2 cores=2,2

squid3.conf
cpu_affinity_map process_numbers=1,2 cores=3,3

squid4.conf
cpu_affinity_map process_numbers=1,2 cores=4,4

You have now run out of cores on the machine. So perhapse splitting into
5 instances was not a great idea. Split the ports into groups of 2500
instead.

Although a 4-core machine is very tiny to be running the kind of
workload 10,000 listening ports can be expected to receive. Sorry I
assumed (wrongly) that to be needing 10k ports you had hardware like a
8/16/32-core machine for processing it.

Amos



More information about the squid-users mailing list