<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>Interesting. &nbsp;At our other data center (not EC2) we get the read_startup_packet error with our load balancer health check. &nbsp;But with EC2 we get the “unable to read data” and the child process shutdown. &nbsp;</div>
<div><br>
</div>
<div>Also we’re using 3.4.1 – I wonder if the behavior is the same with 3.3.1. &nbsp;I’ll give it a shot. &nbsp;</div>
<div><br>
</div>
<div>Thanks all,</div>
<div>Scott</div>
<div>
<div id="MAC_OUTLOOK_SIGNATURE"></div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:12pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>James Sewell &lt;<a href="mailto:james.sewell@lisasoft.com">james.sewell@lisasoft.com</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Monday, March 16, 2015 at 8:35 PM<br>
<span style="font-weight:bold">To: </span>Tatsuo Ishii &lt;<a href="mailto:ishii@postgresql.org">ishii@postgresql.org</a>&gt;<br>
<span style="font-weight:bold">Cc: </span>Scott Rankin &lt;<a href="mailto:srankin@motus.com">srankin@motus.com</a>&gt;, &quot;<a href="mailto:pgpool-general@pgpool.net">pgpool-general@pgpool.net</a>&quot; &lt;<a href="mailto:pgpool-general@pgpool.net">pgpool-general@pgpool.net</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>Re: [pgpool-general: 3524] Re: Amazon EC2 Load Balancer health check kills pgPool node<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">I can see some messages like this also (with the negative packet length), I'm not sure what the difference is - but I'm 99% sure they are all coming from an AWS ELB.
<div><br>
</div>
<div>
<div><font face="monospace,monospace">2015-03-16 17:36:25 ERROR: pid 3072: read_startup_packet: incorrect packet length (-565767200)</font></div>
<div><font face="monospace,monospace">2015-03-16 17:36:35 ERROR: pid 3072: read_startup_packet: incorrect packet length (0)</font></div>
<div><font face="monospace,monospace">2015-03-16 17:36:45 ERROR: pid 3069: read_startup_packet: incorrect packet length (-1746037008)</font></div>
<div><br>
</div>
<div><br>
</div>
<div>Cheers,</div>
</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="gmail_signature">
<div style="color:#b8276a;font:bold 14px Arial,Helvetica,sans-serif"><br>
<span style="color:#323b62">James Sewell,</span><br>
<span style="color:#a9a9a9"><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:#a9a9a9">______________________________________</span><br>
&nbsp;</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:normal 12px/20px Arial,Helvetica,sans-serif;color:#404040;margin:0">
<span style="color:#a9a9a9">Level 2, 50 Queen St, Melbourne VIC 3000</span><br>
<br>
<strong>P&nbsp;</strong><span style="color:#a9a9a9"><span style="font-family: Arial, Verdana, sans-serif;">(&#43;61) 3 8370 8000</span></span><span style="color:rgb(169,169,169)">&nbsp;</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:#a9a9a9">www.lisasoft.com</span></a>&nbsp;
<span style="color:rgb(50,59,98)"><span style="width:15px;display:inline-block"><strong>F&nbsp;</strong></span></span><span style="color:#a9a9a9"><span style="font-family: Arial, Verdana, sans-serif;">(&#43;61) 3 8370 8099</span></span></div>
<div style="padding-top:8px">&nbsp;</div>
</div>
</div>
<br>
<div class="gmail_quote">On Tue, Mar 17, 2015 at 11:31 AM, Tatsuo Ishii <span dir="ltr">
&lt;<a href="mailto:ishii@postgresql.org" target="_blank">ishii@postgresql.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="">&gt; Hey,<br>
&gt;<br>
&gt; We use the same setup on 3.3.1 (AWS with ELB doing TCP health check), but<br>
&gt; we get these error messages:<br>
&gt;<br>
&gt; 2015-03-16 17:38:05 ERROR: pid 3049: read_startup_packet: incorrect packet<br>
&gt; length (0)<br>
&gt; 2015-03-16 17:38:15 ERROR: pid 3049: read_startup_packet: incorrect packet<br>
&gt; length (0)<br>
&gt; 2015-03-16 17:38:25 ERROR: pid 3049: read_startup_packet: incorrect packet<br>
&gt; length (0)<br>
&gt; 2015-03-16 17:38:35 ERROR: pid 3049: read_startup_packet: incorrect packet<br>
&gt; length (0)<br>
&gt;<br>
&gt; There is no backend crash I can see.<br>
<br>
</span>Interesting.<br>
<br>
When I connect to pgpool-II localhost with telnet, I see these:<br>
<br>
2015-03-17 08:15:50: pid 6436: ERROR:&nbsp; failed while reading startup packet<br>
2015-03-17 08:15:50: pid 6436: DETAIL:&nbsp; incorrect packet length (-720903)<br>
<br>
This is git HEAD (almost same as 3.4.1).<br>
<div class="HOEnZb">
<div class="h5"><br>
Best regards,<br>
--<br>
Tatsuo Ishii<br>
SRA OSS, Inc. Japan<br>
English: <a href="http://www.sraoss.co.jp/index_en.php" target="_blank">http://www.sraoss.co.jp/index_en.php</a><br>
Japanese:<a href="http://www.sraoss.co.jp" target="_blank">http://www.sraoss.co.jp</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<p></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></p>
</div>
</div>
</span>
<p><font size="-2">This email message contains information that Motus, LLC considers confidential and/or proprietary, or may later designate as confidential and proprietary. It is intended only for use of the individual or entity named above and should not
 be forwarded to any other persons or entities without the express consent of Motus, LLC, nor should it be used for any purpose other than in the course of any potential or actual business relationship with Motus, LLC. If the reader of this message is not the
 intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication
 in error, please notify sender immediately and destroy the original message.</font></p>
<p><font size="-2">Internal Revenue Service regulations require that certain types of written advice include a disclaimer. To the extent the preceding message contains advice relating to a Federal tax issue, unless expressly stated otherwise the advice is not
 intended or written to be used, and it cannot be used by the recipient or any other taxpayer, for the purpose of avoiding Federal tax penalties, and was not written to support the promotion or marketing of any transaction or matter discussed herein.</font></p>
</body>
</html>