<div dir="ltr">Hello,<br><div><br></div><div>I have a set up with a few cache peers:</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>cache_peer 100.70.162.11 parent 16211 0 proxy-only name=proxy16211</div><div>cache_peer 100.70.162.12 parent 16212 0 proxy-only name=proxy16212</div><div>cache_peer 100.70.162.13 parent 16213 0 proxy-only name=proxy16213</div></blockquote><div><br></div><div>My cache peers go down and up frequently, and I would like to set Squid to choose a reliable peer, which has a long-lasting connection from these peers, so I would like to set rules that would make the peer DOWN fast, but UP  slow.</div><div><br></div><div>For setting the peer to go DOWN fast, there is an easy solution:</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><span style="color:rgb(30,30,30);font-family:"Trebuchet MS",Arial,Helvetica,sans-serif;font-size:12px">dead_peer_timeout 3 seconds</span></div></blockquote><div><span style="color:rgb(30,30,30);font-family:"Trebuchet MS",Arial,Helvetica,sans-serif;font-size:12px"><br></span></div><div><span style="color:rgb(30,30,30);font-family:"Trebuchet MS",Arial,Helvetica,sans-serif;font-size:12px">However, on the same page it reads:</span></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>However, it continues to send ICP queries, and will mark the peer as alive upon receipt of the first subsequent ICP reply.</div></blockquote><div><br></div><div>which means that any peers that receive even a single ICP reply will be marked as back UP again, which is not ideal since it says very little about the connection quality of this peer.</div><div><br></div><div>is there a way for me to change this behavior and have Squid wait for more than a single ICP reply, for example, 200 replies?</div><div><br></div><div>Thanks,</div><div>Roee</div></div>