[squid-users] DEAD Parent detection
dweimer
dweimer at dweimer.net
Fri Oct 17 12:40:18 UTC 2014
On 10/17/2014 7:23 am, daniel.rieken at gmx.net wrote:
> Hello,
>
> I've testet with Squid 3.3.8 and here it is working as expected...
> Thanks Amos!
>
> squid.conf:
> http_port 3128
> http_access allow all
> never_direct allow all
> cache_peer 10.0.0.101 parent 3128 0 name=TEST1
> cache_peer 10.0.0.102 parent 3128 0 name=TEST2
>
> HTTPS Traffic is sent to first parent (10.0.0.101):
> 1413546716.565 299 10.0.0.50 TCP_MISS/200 434 CONNECT
> 10.99.99.99:443 - FIRSTUP_PARENT/10.0.0.101 -
>
> When first parent fails, the HTTPS traffic is sent to second parent
> (10.0.0.102):
> 1413547033.502 216 10.0.0.50 TCP_MISS/200 434 CONNECT
> 10.99.99.99:443 - ANY_OLD_PARENT/10.0.0.102 -
>
>
> But I still got a question left:
> Why is there no message in the logfile? Something like "DEAD Parent
> detected" or "connection to 10.0.0.10:3128 failed"?
>
> When I test with HTTP traffic, it works fine, I will see this message
> as soon as first parent dies:
> 2014/10/17 14:12:07 kid1| TCP connection to 10.0.0.101/3128 failed
> 2014/10/17 14:12:07 kid1| Detected DEAD Parent: TEST1
>
Each of the parents are used for both HTTP & HTTPS in this
configuration, the dead parent detected log message isn't going to be
repeated twice as its one parent, Regardless of which method the traffic
is passing.
--
Thanks,
Dean E. Weimer
http://www.dweimer.net/
More information about the squid-users
mailing list