<div dir="ltr">Hey,<div><br></div><div>We use the same setup on 3.3.1 (AWS with ELB doing TCP health check), but we get these error messages:</div><div><br></div><div><div>2015-03-16 17:38:05 ERROR: pid 3049: read_startup_packet: incorrect packet length (0)</div><div>2015-03-16 17:38:15 ERROR: pid 3049: read_startup_packet: incorrect packet length (0)</div><div>2015-03-16 17:38:25 ERROR: pid 3049: read_startup_packet: incorrect packet length (0)</div><div>2015-03-16 17:38:35 ERROR: pid 3049: read_startup_packet: incorrect packet length (0)</div></div><div><br></div><div>There is no backend crash I can see.</div><div><br></div><div><br></div><div>Cheers,</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:12px Arial,Helvetica,sans-serif">PostgreSQL Team Lead / Solutions Architect </span></span><br>
        <span style="color:#a9a9a9">______________________________________</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: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 </strong><span style="color:#a9a9a9"><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:#a9a9a9">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:#a9a9a9"><span style="font-family:Arial,Verdana,sans-serif">(+61) 3 8370 8099</span></span></div>
<div style="padding-top:8px">
         </div></div></div>
<br><div class="gmail_quote">On Tue, Mar 17, 2015 at 10:28 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">I guess pgpool-II complains that EC2 Elastic Load Balancer does not<br>
disconnect the session in a grace manner. As far as I know, EC2<br>
Elastic Load Balancer supports HTTP/HTTPS but does not support the<br>
PostgreSQL protocol. So I think there is not too much that pgpool-II<br>
can do.<br>
<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>
<span class=""><br>
&gt; Hi all,<br>
&gt;<br>
&gt; I’m running pgPool 3.4.1 on a pair of CentOS 6.6 boxes at AWS, and I have an EC2 Elastic Load Balancer configured to balance requests between them.  I have health checks set up on the load balancer, and I’ve noticed that every time I get a health check, the pgPool worker process that services that request dies.  Here’s an excerpt from the log:<br>
&gt;<br>
&gt; pgpool[389]: [951-2] 2015-03-16 18:14:36: pid 389: DETAIL: EOF encountered with frontend<br>
&gt; pgpool[27]: [749-1] 2015-03-16 18:14:36: pid 27: LOG: child process with pid: 389 exits with status 256<br>
&gt; pgpool[27]: [750-1] 2015-03-16 18:14:36: pid 27: LOG: fork a new child process with pid: 480<br>
&gt;<br>
&gt; pgpool[502]: [733-1] 2015-03-16 18:15:06: pid 502: FATAL: unable to read data from frontend<br>
&gt; pgpool[502]: [733-2] 2015-03-16 18:15:06: pid 502: DETAIL: EOF encountered with frontend<br>
&gt; pgpool[28]: [759-1] 2015-03-16 18:15:06: pid 28: LOG: child process with pid: 502 exits with status 256<br>
&gt; pgpool[28]: [760-1] 2015-03-16 18:15:06: pid 28: LOG: fork a new child process with pid: 524<br>
&gt;<br>
</span>&gt; This was happening every 30 seconds.  When I change the health check to be every 5 minutes, the child process dying also moved to every 5 minutes.  I don’t have a whole lot of control over the health check �#| it’s a TCP connection on the pgPool port.<br>
<span class="">&gt;<br>
&gt; Has anybody seen something like this before?<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Scott<br>
&gt;<br>
&gt; SCOTT RANKIN<br>
&gt; Vice President, Technology<br>
&gt; Motus, LLC<br>
&gt; Two Financial Center, 60 South Street, Boston, MA 02111<br>
</span>&gt; <a href="tel:617.467.1931" value="+16174671931">617.467.1931</a> (W) | <a href="mailto:srankin@motus.com">srankin@motus.com</a>&lt;mailto:%<a href="mailto:20tgebski@motus.com">20tgebski@motus.com</a>&gt;<br>
&gt;<br>
&gt; Follow us on LinkedIn&lt;<a href="https://www.linkedin.com/company/motus-llc/" target="_blank">https://www.linkedin.com/company/motus-llc/</a>&gt; | Visit us at <a href="http://motus.com" target="_blank">motus.com</a>&lt;<a href="http://www.motus.com/" target="_blank">http://www.motus.com/</a>&gt;<br>
<div class="HOEnZb"><div class="h5">&gt;<br>
&gt;<br>
&gt; 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.<br>
&gt;<br>
&gt; 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.<br>
</div></div><br>_______________________________________________<br>
pgpool-general mailing list<br>
<a href="mailto:pgpool-general@pgpool.net">pgpool-general@pgpool.net</a><br>
<a href="http://www.pgpool.net/mailman/listinfo/pgpool-general" target="_blank">http://www.pgpool.net/mailman/listinfo/pgpool-general</a><br>
<br></blockquote></div><br></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>