Search squid archive

Re: squid with SMP registeration time out when i use 10K opened sessions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux