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

Ahmad Alzaeem ahmed.zaeem at netstream.ps
Mon Sep 28 06:24:22 UTC 2015


Hi amos

I have 10 K

I DIVIDED them to 5 files

Each file has 2 K
And each file has its own cache.log file /visible name ....etc

The question im asking is :

Do I need to put the  directive in  cpu_affinity_map process_numbers=1,2,3 ,4,5cores=1,2,3,4,5
In squid.conf ??

Or I need to go to each separated file  of each instance and provide command there


Thanks a lot 

-----Original Message-----
From: Amos Jeffries [mailto:squid3 at treenet.co.nz] 
Sent: Monday, September 28, 2015 3:24 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

On 27/09/2015 9:56 p.m., Ahmad Alzaeem wrote:
> Hi Amos ,
> I think it got it woring with multi instance I let each instance load 
> some ports and each instance has its only kid1 process.
> 
> But im asking now where to do the cpu mapping ?
> 
> Is it done in squid.conf ?
> 
> Or for each separated instance conf file ?
> 
> Is my formula below  correct ?
> 
> cpu_affinity_map process_numbers=1,2,3 cores=1,2,3
> 

That would be it yes. Just with different core numbers mapped/tied for each instance.

Amos




More information about the squid-users mailing list