<div dir="ltr">Hey All,<div><br></div><div>I am getting some strange behaviour with some PGPool instances in AWS.</div><div><br></div><div>I have 2 x PGPool instances (watchdog on) and 2 x PostgreSQL instances. I am using PostgreSQL replication with an external cluster solution.</div><div><br></div><div>I have the following nodes:</div><div><br></div><div><div>show pool_nodes;</div><div> node_id |  hostname   | port | status | lb_weight |  role</div><div>---------+-------------+------+--------+-----------+---------</div><div> 0       | 10.51.9.227 | 5432 | 2      | 0.500000  | standby</div><div> 1       | 10.51.10.29 | 5432 | 2      | 0.500000  | primary</div><div>(2 rows)</div></div><div><br></div><div><br></div><div>The following appears in my log files, after which PGPool effectively hangs on both nodes. A restart of PGpool on both nodes fixes the problem.</div><div><br></div><div><div>2014-09-04 13:37:41 LOG:   pid 24322: wd_send_response: WD_STAND_FOR_LOCK_HOLDER received it</div><div>2014-09-04 13:37:41 LOG:   pid 24322: degenerate_backend_set: 1 fail over request from pid 24322</div><div>2014-09-04 13:37:41 LOG:   pid 24311: wd_start_interlock: start interlocking</div><div>2014-09-04 13:37:41 LOG:   pid 24311: starting degeneration. shutdown host 10.51.10.29(5432)</div><div>2014-09-04 13:37:41 ERROR: pid 24311: failover_handler: no valid DB node found</div><div>2014-09-04 13:37:41 LOG:   pid 24311: Restart all children</div><div>2014-09-04 13:37:42 LOG:   pid 24311: find_primary_node_repeatedly: waiting for finding a primary node</div><div><br></div><div>Any ideas? As this in AWS I wouldn&#39;t be surprised if a network issue caused the primary to disappear briefly - but it is never found again.</div><div><br></div><div>I am trying to recreate but haven&#39;t had luck yet.</div><div><br></div><div><div style="color:rgb(184,39,106);font-weight:bold;font-style:normal;font-variant:normal;font-size:14px;line-height:normal;font-family:Arial,Helvetica,sans-serif">
        <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-size:12px;line-height:normal;font-family:Arial,Helvetica,sans-serif">PostgreSQL Team Lead / 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-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>

<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>