[squid-users] c-icap load balancing

yanghe yanghe0921 at 126.com
Fri Sep 16 08:19:17 UTC 2016


On 09/14/2016 09:51 PM,  wrote: "Alex Rousskov"<rousskov at measurement-factory.com>
> 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 192.168.1.4 halfpercent
tcp_outgoing_address 192.168.1.2

icap_service service_req reqmod_precache bypass=0 icap://192.168.1.4:1344/echo
adaptation_access service_req allow all

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

That's why 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20160916/6dfe582b/attachment.html>


More information about the squid-users mailing list