[squid-users] squid with SMP registeration time out when i use 10K opened sessions
Ahmad Alzaeem
ahmed.zaeem at netstream.ps
Wed Sep 30 07:00:13 UTC 2015
Thankx amos that was great ...
Many many many thanks for you .
Last thing , if I use basic_ncsa_auth for the 10 K ports
Do you think it will have a lot of cpu consumption ?
I want the ncsa auth , but im not sure if it take a lot of cpu
Waiting ur suggestion
Thankx again
-----Original Message-----
From: Amos Jeffries [mailto:squid3 at treenet.co.nz]
Sent: Wednesday, September 30, 2015 3:46 AM
To: Ahmad Alzaeem
Cc: squid-users at lists.squid-cache.org
Subject: Re: [squid-users] squid with SMP registeration time out when i use 10K opened sessions
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