<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>The curl command is:</p>
<p><br>
</p>
<p><span>curl -s -i <a href="http://showip.net" class="OWAAutoLink" id="LPlnk233448" previewremoved="true">
http://showip.net</a></span><br>
<br>
</p>
<p>The configuration in squid.conf is:</p>
<p><br>
</p>
<p></p>
<div>cache_peer 192.168.1.100 parent 3128 weight=5 no-query name=p1 round-robin</div>
<div>cache_peer 192.168.1.101 parent 3128 weight=5 no-query name=p2 round-robin</div>
<div>cache_peer 192.168.1.102 parent 3128 weight=5 no-query name=p3 round-robin</div>
<br>
<p></p>
<p><span style="font-size: 12pt;">cache_peer_domain p1 .com</span><br>
</p>
<div>cache_peer_domain p1 .net</div>
<div>cache_peer_domain p2 .com</div>
<div>cache_peer_domain p2 .net</div>
<div>cache_peer_domain p3 .com</div>
<div>cache_peer_domain p3 .net</div>
<div><br>
</div>
<div>Thanks</div>
<br>
<div style="color: rgb(0, 0, 0);">
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><span>On 26 December 2016 at 15:32, Eliezer Croitoru <eliezer@ngtech.co.il> wrote:</span><br>
</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Can you give a bash example with curl to replicate this issue?<br>
<br>
Thanks,<br>
Eliezer<br>
<br>
----<br>
<a href="http://ngtech.co.il/lmgtfy/" id="LPlnk702805" previewremoved="true">http://ngtech.co.il/lmgtfy/</a><br>
Linux System Administrator<br>
Mobile: +972-5-28704261<br>
Email: eliezer@ngtech.co.il<br>
<br>
<br>
From: squid-users [<a href="mailto:squid-users-bounces@lists.squid-cache.org">mailto:squid-users-bounces@lists.squid-cache.org</a>] On<br>
Behalf Of wei<br>
Sent: Monday, December 26, 2016 3:34 AM<br>
To: squid3@treenet.co.nz; squid-users@squid-cache.org<br>
Subject: Re: [squid-users] Squid keep using one parent proxy while I have<br>
multiple parent proxies<br>
<br>
Hi Amos,<br>
<br>
The Squid version I tested is 3.4.14(installed by yum on Centos 6.8) and<br>
3.4.8(installed by apt on Debian 7), both have the problem of use same<br>
parent proxy after about 55 seconds. I also test 3.5.23(compiled by default<br>
parameter) and found the time increased from 55 to 85 seconds or so. Thanks.<br>
<br>
Regards,<br>
Edwin<br>
<br>
<br>
<br>
<br>
Message: 1<br>
Date: Sun, 25 Dec 2016 23:25:34 +1300<br>
From: Amos Jeffries <<a href="mailto:squid3@treenet.co.nz">mailto:squid3@treenet.co.nz</a>><br>
To: <a href="mailto:squid-users@lists.squid-cache.org">mailto:squid-users@lists.squid-cache.org</a><br>
Subject: Re: [squid-users] Squid keep using one parent proxy while I<br>
        have    multiple parent proxies<br>
Message-ID: <<a href="mailto:6ace087dad7238ba88b6d89c84dfd373@treenet.co.nz">mailto:6ace087dad7238ba88b6d89c84dfd373@treenet.co.nz</a>><br>
Content-Type: text/plain; charset=US-ASCII; format=flowed<br>
<br>
On 2016-12-24 15:43, wei wrote:<br>
> I have the following cache_peer settings in squid.conf, it works fine<br>
> but I found when the interval of every request is more than 55 seconds<br>
> or so, the request will only be forwarded to the last parent(p3), I<br>
> think this is because the counter being reset by squid if there is no<br>
> new request for about 55 seconds, anyone know how to increase this<br>
> value? Many thanks.<br>
> <br>
> cache_peer 192.168.1.100 parent 3128 weight=5 no-query name=p1<br>
> round-robin<br>
> cache_peer 192.168.1.101 parent 3128 weight=5 no-query name=p2<br>
> round-robin<br>
> cache_peer 192.168.1.102 parent 3128 weight=5 no-query name=p3<br>
> round-robin<br>
<br>
<br>
What version of Squid?<br>
<br>
Amos<br>
<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org">mailto:squid-users@lists.squid-cache.org</a><br>
<a href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a><br>
<br>
<br>
</div>
</span></font></div>
</div>
</body>
</html>