Hello Yanghe,
Why not to setup HAproxy in front of your ICAP instances?
ICAP is relatively easily can be load balanced by HAProxy.
We have it in place up and running.

Best regards,

Rafael Akchurin

Diladele B.V.




Please take a look at Web Safety - our ICAP based web filter server for Squid 

From: squid-users [mailto:squid-users-boun...@lists.squid-cache.org] On Behalf 
Of yanghe
Sent: Friday, September 16, 2016 10:19 AM
To: squid-users <squid-users@lists.squid-cache.org>
Subject: Re: [squid-users] c-icap load balancing

On 09/14/2016 09:51 PM,  wrote: "Alex 
> Unfortunately, Squid does not support true load
> However, there is a workaround: Use

Thanks for your adivice.
IF I do not use adaptation_service_set or adaptation_service_chain to list N 
c-icap services.the traffic will only go to the first.
Get your advice.I tried configure the "random" ACLs,But,It is not successful
Here is my squid.conf
balance_on_multiple_ip on
acl halfpercent random 0.5
tcp_outgoing_address halfpercent

icap_service service_req reqmod_precache bypass=0 icap://
adaptation_access service_req allow all
icap_service service_req_two reqmod_precache bypass=0 
adaptation_access service_req_two allow all
This is mistake in cache.log
"commBind: Cannot bind socket FD 18 to (99) Cannot assign 
requested address"
"commBind: Cannot bind socket FD 18 to (99) Cannot assign 
requested address"

That's why
squid-users mailing list

Reply via email to