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

2015-09-24 Thread Ahmad Alzaeem
Hi support . Im using my squid as proxy for IPV6 I can use 2000 ips with 2 workers and no problem The problem is If I run it with no SMP 1 listenting ports , it works ok and problem If I run squid with 1 listening port with 2 workers ==>kid timeout registeration If I run it wi

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

2015-09-24 Thread Alex Rousskov
On 09/24/2015 08:54 AM, Ahmad Alzaeem wrote: > If I run it with no SMP 1 listenting ports , it works ok and problem > > If I run squid with 1 listening port with 2 workers èkid timeout > registeration > 2015/09/24 14:51:25 kid2| Closing HTTP port [::]:29995 > 2015/09/24 14:51:25 kid2|

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

2015-09-24 Thread Ahmad Alzaeem
0 PM To: squid-users@lists.squid-cache.org Cc: Ahmad Alzaeem Subject: Re: [squid-users] squid with SMP registeration time out when i use 10K opened sessions On 09/24/2015 08:54 AM, Ahmad Alzaeem wrote: > If I run it with no SMP 1 listenting ports , it works ok and > problem > > If I run

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

2015-09-24 Thread Alex Rousskov
kers are using its port). It does not hurt to try. Alex. > -Original Message- > From: Alex Rousskov [mailto:rouss...@measurement-factory.com] > Sent: Thursday, September 24, 2015 7:10 PM > To: squid-users@lists.squid-cache.org > Cc: Ahmad Alzaeem > Subject: Re: [squi

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

2015-09-24 Thread Amos Jeffries
On 25/09/2015 8:26 a.m., Alex Rousskov wrote: > On 09/24/2015 02:10 PM, Ahmad Alzaeem wrote: > >> If I use 2k ips with 2 worker , squid works ok If I use 10kbports without >> SMP , squid is ok >> With 10K + 2 workers , we have reg timeout > > The bigger (workers * ports) product is, the more li

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

2015-09-24 Thread Amos Jeffries
On 25/09/2015 4:09 a.m., Alex Rousskov wrote: > > The attached patch for Squid v3.3.11 changes the port sharing algorithm > to minimize memory usage (at the expense of registration time). Please > see the patch preamble for technical details. The patch worked with 3K > ports (24 workers * 128 http

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

2015-09-26 Thread Ahmad Alzaeem
: Friday, September 25, 2015 12:44 AM To: Ahmad Alzaeem Subject: Re: [squid-users] squid with SMP registeration time out when i use 10K opened sessions On 25/09/2015 9:27 a.m., Ahmad Alzaeem wrote: > Hi amos > I have alredy 5.2 3.5.9 is the latest security release. > > All squid t

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

2015-09-27 Thread Ahmad Alzaeem
rg Subject: Re: [squid-users] squid with SMP registeration time out when i use 10K opened sessions Hi Amos , thanks for reply Regarding to your description If I have 10K ips with 10k listening ports .. Will each squid process handle 10 K ? Or I need to distribute the ips/ports to ea

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

2015-09-27 Thread Ahmad Alzaeem
ubject: Re: [squid-users] squid with SMP registeration time out when i use 10K opened sessions 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.

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

2015-09-27 Thread Amos Jeffries
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 separ

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

2015-09-27 Thread Ahmad Alzaeem
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 ma

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

2015-09-28 Thread Amos Jeffries
On 28/09/2015 7:24 p.m., Ahmad Alzaeem wrote: > 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=

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

2015-09-29 Thread Ahmad Alzaeem
-users] squid with SMP registeration time out when i use 10K opened sessions On 28/09/2015 7:24 p.m., Ahmad Alzaeem wrote: > 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 >

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

2015-09-29 Thread Ahmad Alzaeem
5 11:59 PM To: Ahmad Alzaeem Cc: squid-users@lists.squid-cache.org Subject: Re: [squid-users] squid with SMP registeration time out when i use 10K opened sessions On 28/09/2015 7:24 p.m., Ahmad Alzaeem wrote: > Hi amos > > I have 10 K > > I DIVIDED them to 5 files > > Each

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

2015-09-29 Thread Amos Jeffries
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

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

2015-09-30 Thread Ahmad Alzaeem
Message- From: Amos Jeffries [mailto:squ...@treenet.co.nz] Sent: Wednesday, September 30, 2015 3:46 AM To: Ahmad Alzaeem Cc: squid-users@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

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

2015-09-30 Thread Amos Jeffries
On 30/09/2015 8:00 p.m., Ahmad Alzaeem wrote: > 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 ? Not particularly much. But it does depend on how many use