[squid-users] dead gateway, not dead peer..
B. Cook
bcook at poughkeepsieschools.org
Tue Jun 21 19:12:53 UTC 2016
On Tue, Jun 21, 2016 at 3:18 AM, Amos Jeffries <squid3 at treenet.co.nz> wrote:
>
> So you're trolling. The FAQ it is then:
> <http://wiki.squid-cache.org/Features/CacheHierarchy>
> <http://wiki.squid-cache.org/Features/LoadBalance>
>
>
Thank you the response..
squid.conf (3.5.19 debian host 192.168.10.115)
cache_peer 10.20.12.144 parent 3128 0 no-digest no-netdb-exchange
proxy-only
cache_peer 10.20.12.194 parent 3128 0 no-digest no-netdb-exchange
proxy-only
cache_peer 10.20.32.99 parent 3128 0 no-digest no-netdb-exchange proxy-only
default
prefer_direct off
nonhierarchical_direct off
Turing off squid on host 10.20.12.144 immediately got 10.115 to pass
connections over to 12.194 (great) as denoted in the logs below..
2016/06/21 15:02:16 kid1| TCP connection to 10.20.12.144/3128 failed
2016/06/21 15:02:16 kid1| TCP connection to 10.20.12.144/3128 failed
2016/06/21 15:02:24 kid1| TCP connection to 10.20.12.144/3128 failed
2016/06/21 15:02:24 kid1| TCP connection to 10.20.12.144/3128 failed
2016/06/21 15:02:24 kid1| TCP connection to 10.20.12.144/3128 failed
2016/06/21 15:02:24 kid1| TCP connection to 10.20.12.144/3128 failed
2016/06/21 15:02:24 kid1| TCP connection to 10.20.12.144/3128 failed
2016/06/21 15:02:24 kid1| TCP connection to 10.20.12.144/3128 failed
2016/06/21 15:02:24 kid1| TCP connection to 10.20.12.144/3128 failed
2016/06/21 15:02:24 kid1| TCP connection to 10.20.12.144/3128 failed
2016/06/21 15:02:24 kid1| Detected DEAD Parent: 10.20.12.144
2016/06/21 15:02:32 kid1| Detected REVIVED Parent: 10.20.12.144
When I enabled squid on host 10.20.12.144 squid detected dead -> revived
and passed traffic again.. (also great)..
but when host 10.20.12.144 loses it's gateway, the default route on 12.144
is dead.. traffic is still to 12.144.. squid didn't die, the process is
still running..
Nothing is detected and 12.194 is never contacted..
How do I get squid to detect that no valid data is being returned from
12.144.. or am I missing something?
--
This message may contain confidential information and is intended only for
the individual(s) named. If you are not an intended recipient you are not
authorized to disseminate, distribute or copy this e-mail. Please notify
the sender immediately if you have received this e-mail by mistake and
delete this e-mail from your system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20160621/7bf4a69c/attachment.html>
More information about the squid-users
mailing list