<div dir="ltr">Hey all,<div><br></div><div>This page <a href="http://pgsqlpgpool.blogspot.com.au/2013/09/health-check-parameters.html">http://pgsqlpgpool.blogspot.com.au/2013/09/health-check-parameters.html</a> suggests that this formula must be observed (I can&#39;t see this in the doco though?):</div><div><br></div><div><span style="color:rgb(85,85,68);font-size:13px;line-height:18.2000007629395px"><font face="monospace, monospace">health_check_max_retries * (health_check_timeout+health_check_retry_delay)&quot; &lt; health_check_period.</font></span></div><div><font color="#555544" face="tahoma, Trebuchet MS, lucida, helvetica, sans-serif"><span style="line-height:18.2000007629395px"><br></span></font></div><div>I am running on AWS and the network is pretty terrible sometimes, although the problem isn&#39;t timeouts. When it fails connections fail straight away. I was hoping to use these settings:</div><div><br></div><div><div>health_check_period = 30</div><div>health_check_timeout = 5                                 </div><div>health_check_max_retries = 20                               <br></div><div>health_check_retry_delay = 2</div><div><br></div><div>But according the the above formula I would need a health_check_period of 20*(5+2) = 140.</div><div><br></div><div>I would rather avoid this and keep health_check_period at 30 seconds as I don&#39;t want to wait 140 seconds between checks, is this OK?</div><div><br></div><div>I&#39;ve tested with iptables blocking a node and it works, just checking that there are no hidden gotchas?</div><div><br></div><div><div class="gmail_signature"><div style="color:rgb(184,39,106);font-weight:bold;font-style:normal;font-variant:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Arial,Helvetica,sans-serif">
        <br>
        <span style="color:rgb(50,59,98)">James Sewell,</span><br><span style="color:rgb(169,169,169)"><span style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Arial,Helvetica,sans-serif">Solutions Architect </span></span><br>
        <span style="color:rgb(169,169,169)">______________________________________</span><br>
         </div>
<img alt="" src="http://www.lisasoft.com/sites/lisasoft/files/u1/logo1.jpg" style="margin: 0px; width: 153px; height: 50px;"><br>
<div style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:20px;font-family:Arial,Helvetica,sans-serif;color:rgb(64,64,64);margin:0px">
        <span style="color:rgb(169,169,169)">Level 2, 50 Queen St, Melbourne VIC 3000</span><br>
        <br>
        <strong>P </strong><span style="color:rgb(169,169,169)"><span style="font-family:Arial,Verdana,sans-serif">(+61) 3 8370 8000</span></span><span style="color:rgb(169,169,169)"> </span><strong> </strong><span style="color:rgb(50,59,98)"><span style="width:15px;display:inline-block"><strong>W</strong></span></span> <a style="color:rgb(64,64,64);margin:2px 0px;text-decoration:none"><span style="color:rgb(169,169,169)">www.lisasoft.com</span></a>  <span style="color:rgb(50,59,98)"><span style="width:15px;display:inline-block"><strong>F </strong></span></span><span style="color:rgb(169,169,169)"><span style="font-family:Arial,Verdana,sans-serif">(+61) 3 8370 8099</span></span></div>
<div style="padding-top:8px">
         </div></div></div>
</div></div>

<br>
<p><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14.545454025268555px;background-color:rgb(255,255,255)"><hr><font size="1" color="Gray" face="Arial">The contents of this email are confidential and may be subject to legal or professional privilege and copyright. No representation is made that this email is free of viruses or other defects. If you have received this communication in error, you may not copy or distribute any part of it or otherwise disclose its contents to anyone. Please advise the sender of your incorrect receipt of this correspondence.</font></div></p>