The curl command is:
curl -s -i
http://showip.net The configuration in squid.conf is:
cache_peer 192.168.1.100 parent 3128 weight=5 no-query name=p1 round-robin
cache_peer 192.168.1.101 parent 3128 weight=5 no-query name=p2 round-robin
cache_peer 192.168.1.102 parent 3128 weight=5 no-query name=p3 round-robin
cache_peer_domain p1 .com cache_peer_domain p1 .net
cache_peer_domain p2 .com
cache_peer_domain p2 .net
cache_peer_domain p3 .com
cache_peer_domain p3 .net
Thanks
On 26 December 2016 at 15:32, Eliezer Croitoru <eliezer@xxxxxxxxxxxx> wrote:
Can you give a bash example with curl to replicate this issue?
Thanks, Eliezer ---- http://ngtech.co.il/lmgtfy/ Linux System Administrator Mobile: +972-5-28704261 Email: eliezer@xxxxxxxxxxxx From: squid-users [mailto:squid-users-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of wei Sent: Monday, December 26, 2016 3:34 AM To: squid3@xxxxxxxxxxxxx; squid-users@xxxxxxxxxxxxxxx Subject: Re: Squid keep using one parent proxy while I have multiple parent proxies Hi Amos, The Squid version I tested is 3.4.14(installed by yum on Centos 6.8) and 3.4.8(installed by apt on Debian 7), both have the problem of use same parent proxy after about 55 seconds. I also test 3.5.23(compiled by default parameter) and found the time increased from 55 to 85 seconds or so. Thanks. Regards, Edwin Message: 1 Date: Sun, 25 Dec 2016 23:25:34 +1300 From: Amos Jeffries <mailto:squid3@xxxxxxxxxxxxx> To: mailto:squid-users@xxxxxxxxxxxxxxxxxxxxx Subject: Re: Squid keep using one parent proxy while I have multiple parent proxies Message-ID: <mailto:6ace087dad7238ba88b6d89c84dfd373@xxxxxxxxxxxxx> Content-Type: text/plain; charset=US-ASCII; format=flowed On 2016-12-24 15:43, wei wrote: > I have the following cache_peer settings in squid.conf, it works fine > but I found when the interval of every request is more than 55 seconds > or so, the request will only be forwarded to the last parent(p3), I > think this is because the counter being reset by squid if there is no > new request for about 55 seconds, anyone know how to increase this > value? Many thanks. > > cache_peer 192.168.1.100 parent 3128 weight=5 no-query name=p1 > round-robin > cache_peer 192.168.1.101 parent 3128 weight=5 no-query name=p2 > round-robin > cache_peer 192.168.1.102 parent 3128 weight=5 no-query name=p3 > round-robin What version of Squid? Amos ------------------------------ Subject: Digest Footer _______________________________________________ squid-users mailing list mailto:squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users |
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users