[squid-users] Squid keep using one parent proxy while I have multiple parent proxies

Eliezer Croitoru eliezer at ngtech.co.il
Mon Dec 26 15:32:21 UTC 2016


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 at ngtech.co.il


From: squid-users [mailto:squid-users-bounces at lists.squid-cache.org] On
Behalf Of wei
Sent: Monday, December 26, 2016 3:34 AM
To: squid3 at treenet.co.nz; squid-users at squid-cache.org
Subject: Re: [squid-users] 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 at treenet.co.nz>
To: mailto:squid-users at lists.squid-cache.org
Subject: Re: [squid-users] Squid keep using one parent proxy while I
        have    multiple parent proxies
Message-ID: <mailto:6ace087dad7238ba88b6d89c84dfd373 at treenet.co.nz>
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 at lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users




More information about the squid-users mailing list