Re: [squid-users] What's the algorithm to achieve AclRandom

2016-09-18 Thread Alex Rousskov
On 09/18/2016 05:41 AM, yanghe wrote: > I have two ICAP servers and want load balancing.If I > use AclRandom,the traffic will be averagely distributed to > the two ICAP servers,but it can't guarantee the integrity of > the session.For example,I sent a message with 5 > attachments,which were random

Re: [squid-users] What's the algorithm to achieve AclRandom

2016-09-18 Thread ysu yang
Now,I have two ICAP servers and want load balancing.If I use AclRandom,the traffic will be averagely distributed to the two ICAP servers,but it can't guarantee the integrity of the session.For example,I sent a message with 5 attachments,which were randomly assigned to two ICAP servers. If I

Re: [squid-users] c-icap load balancing

2016-09-18 Thread ysu yang
The haproxy was actually occurred to me before,but I am confused how to configure 1、How can I configure squid that the next traffic will go to haproxy. 2、Shouldn't the IP of the c-icap list by icap_service. if listed in haproxy,how to configure icap_service Hope to give some advice yanghe -- V

Re: [squid-users] What's the algorithm to achieve AclRandom

2016-09-18 Thread yanghe
on 09/18/2016 03:46 PM, wrote: "Amos Jeffries"squ...@treenet.co.nz Now,I have two ICAP servers and want load balancing.If I use AclRandom,the traffic will be averagely distributed to the two ICAP servers,but it can't guarantee the integrity of the session.For example,I sent a message with 5

Re: [squid-users] squid kid/SMP limitation like 1024 ips/opened sessions ?????

2016-09-18 Thread --Ahmad--
hi Amos you rock that solved it !! thank you so much > On Sep 18, 2016, at 11:49 AM, Amos Jeffries wrote: > > On 18/09/2016 6:38 a.m., Ahmed Alzaeem wrote: >> thanks amos for clarification >> >> i expanded the kernel to handle high traffic >> but still the issue in squid i believe ……

Re: [squid-users] squid kid/SMP limitation like 1024 ips/opened sessions ?????

2016-09-18 Thread Amos Jeffries
On 18/09/2016 6:38 a.m., Ahmed Alzaeem wrote: > thanks amos for clarification > > i expanded the kernel to handle high traffic > but still the issue in squid i believe ……. > > is there anything can i do to let squid expand the 1024 sessions form kernel ? It is not a limit on number of "sessi

Re: [squid-users] What's the algorithm to achieve AclRandom

2016-09-18 Thread Amos Jeffries
On 18/09/2016 7:25 p.m., yanghe wrote: > Hi > Although he said it was random,certainly based on an algorithm. > I would like to know what's the algorithm or principle to achieve AclRandom. ACL random uses the operating system random() number generator. A new random number is selected each time

[squid-users] What's the algorithm to achieve AclRandom

2016-09-18 Thread yanghe
Hi Although he said it was random,certainly based on an algorithm. I would like to know what's the algorithm or principle to achieve AclRandom. Can I make certain the next traffic will go to which Web server? Thanks in advance 2016-09-18 yanghe ___