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]

 



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@xxxxxxxxxxxxx] 
Sent: Wednesday, September 30, 2015 3:46 AM
To: Ahmad Alzaeem
Cc: squid-users@xxxxxxxxxxxxxxxxxxxxx
Subject: Re:  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


_______________________________________________
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