<div dir="ltr">Hi<div><br></div><div>Sorry for the delayed response, Somehow my email filters are messed up and community mails are not properly</div><div>showing in my inbox.</div><div><div class="gmail_extra">It seems that the log messages you shared is from the Pgpool server that did not suffer the connectivity problem. Can you also share</div><div class="gmail_extra">the pgpool logs from the pgpool server that shutdown itself because of ping to upstream failure.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks</div><div class="gmail_extra">Best Regards</div><div class="gmail_extra">Muhammad Usama</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 18, 2017 at 8:21 PM, Giancarlo Celli <span dir="ltr">&lt;<a href="mailto:giancarlocelli@gmail.com" target="_blank">giancarlocelli@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">So I&#39;m sharing this mail on the pgpool-general, as requested.<div>My pgpool version number is: 3.6.6</div><div>My postgresql versione is: 9.6.3</div><div>Can someone help me, please?</div><div><br><div><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Tatsuo Ishii</b> <span dir="ltr">&lt;<a href="mailto:ishii@sraoss.co.jp" target="_blank">ishii@sraoss.co.jp</a>&gt;</span><br>Date: 2017-12-15 23:04 GMT+01:00<br>Subject: Re: [pgpool-general: 5829] repeat the check of the trusted servers<br>To: <a href="mailto:giancarlocelli@gmail.com" target="_blank">giancarlocelli@gmail.com</a><br>Cc: <a href="mailto:ishii@sraoss.co.jp" target="_blank">ishii@sraoss.co.jp</a><br><br><br>Ok, from the log I guess it maybe related to watchdog part. Usama is<br>
the authority of watchdog, and I suggest you share this mail on the<br>
pgpool-general mailing list so that he could join the discussion<br>
unless you have some reasons to not want to do that. And recently<br>
watchdog has been fixed and enhanced. It will be helpful if you<br>
provide accurate version number of Pgpool-II.<span class=""><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" rel="noreferrer" target="_blank">http://www.sraoss.co.jp/index_<wbr>en.php</a><br>
Japanese:<a href="http://www.sraoss.co.jp" rel="noreferrer" target="_blank">http://www.sraoss.co.<wbr>jp</a><br>
<br></span>
From: Giancarlo Celli &lt;<a href="mailto:giancarlocelli@gmail.com" target="_blank">giancarlocelli@gmail.com</a>&gt;<br>
Subject: Re: [pgpool-general: 5829] repeat the check of the trusted servers<br>
Date: Fri, 15 Dec 2017 17:35:17 +0100<br>
Message-ID: &lt;<a href="mailto:CAD57xQ63HtgeD5Pz69DKn59qP2dvcQibK8TXgZcxXThH9ND5mw@mail.gmail.com" target="_blank">CAD57xQ63HtgeD5Pz69DKn59qP2dv<wbr>cQibK8TXgZcxXThH9ND5mw@mail.gm<wbr>ail.com</a>&gt;<br>
<br>
&gt; Hi,<br>
&gt; no, this is a dedicated server.<br>
&gt; The strange thing is that the provider does not show connection problems,<br>
&gt; as you can see in the attached image (green: input data; blue: output data).<br>
&gt; Instead, the following lines appear in the pgpool log (I&#39;ve hidden part of<br>
&gt; the IP for security reasons):<br>
&gt;<br>
&gt; 2017-12-15 03:44:45: pid 2319: LOG: read from socket failed, remote end<br>
&gt; closed the connection<br>
&gt; 2017-12-15 03:44:45: pid 2319: LOG: client socket of 95.110.x.1:5432 Linux<br>
&gt; standby1 is closed<br>
&gt; 2017-12-15 03:44:45: pid 2319: LOG: remote node &quot;95.110.x.1:5432 Linux<br>
&gt; standby1&quot; is shutting down<br>
&gt; 2017-12-15 03:44:45: pid 2319: LOG: removing watchdog node &quot;95.110.x.1:5432<br>
&gt; Linux standby1&quot; from the standby list<br>
&gt; 2017-12-15 03:44:45: pid 2319: LOG: new watchdog node connection is<br>
&gt; received from &quot;95.110.x.1:25742&quot;<br>
&gt; 2017-12-15 03:44:45: pid 2319: LOG: new node joined the cluster<br>
&gt; hostname:&quot;95.110.x.1&quot; port:9000 pgpool_port:5432<br>
&gt; 2017-12-15 03:44:45: pid 2319: LOG: new outbond connection to<br>
&gt; 95.110.x.1:9000<br>
&gt; 2017-12-15 03:44:45: pid 2319: LOG: remote node &quot;95.110.x.1:5432 Linux<br>
&gt; standby1&quot; is shutting down<br>
&gt; 2017-12-15 03:44:56: pid 2321: LOG: informing the node status change to<br>
&gt; watchdog<br>
&gt; 2017-12-15 03:44:56: pid 2321: DETAIL: node id :1 status = &quot;NODE DEAD&quot;<br>
&gt; message:&quot;No heartbeat signal from node&quot;<br>
&gt; 2017-12-15 03:44:56: pid 2319: LOG: new IPC connection received<br>
&gt; 2017-12-15 03:44:56: pid 2319: LOG: received node status change ipc message<br>
&gt; 2017-12-15 03:44:56: pid 2319: DETAIL: No heartbeat signal from node<br>
&gt; 2017-12-15 03:44:56: pid 2319: LOG: remote node &quot;95.110.x.1:5432 Linux<br>
&gt; standby1&quot; is shutting down<br>
&gt;<br>
&gt; In the log I hid part of the IP for security reasons.<br>
&gt;<br>
&gt; Do you have any suggestions?<span class=""><br>
&gt;<br>
&gt; 2017-12-15 16:14 GMT+01:00 Tatsuo Ishii &lt;<a href="mailto:ishii@sraoss.co.jp" target="_blank">ishii@sraoss.co.jp</a>&gt;:<br>
&gt;<br>
&gt;&gt; &gt; Hi<br>
&gt;&gt; &gt; I&#39;ve one standby server who has some connectivity problems and it loses<br>
&gt;&gt; its<br>
&gt;&gt; &gt; connection for short periods. When this happens it fails to ping trusted<br>
&gt;&gt; &gt; servers and so pgpool process was stopped. Is there a specific parameter<br>
&gt;&gt; &gt; that can be modified to make sure that the check on trusted servers is<br>
&gt;&gt; &gt; repeated several times with an interval of a few seconds before the<br>
&gt;&gt; pgpool<br>
&gt;&gt; &gt; is stopped?<br>
&gt;&gt;<br>
&gt;&gt; Unfortunately there is no such a retry feature for trusted<br>
&gt;&gt; servers.<br>
&gt;&gt;<br>
&gt;&gt; Just out of curiosity, is your network running on a cloud service? If<br>
&gt;&gt; it&#39;s a common phenomena on cloud services, then probably we should<br>
&gt;&gt; implement the retry feature for trusted servers.<br>
&gt;&gt;<br>
&gt;&gt; Best regards,<br>
<span class="m_2055623964373195685gmail-HOEnZb"><font color="#888888">&gt;&gt; --<br>
&gt;&gt; Tatsuo Ishii<br>
&gt;&gt; SRA OSS, Inc. Japan<br>
&gt;&gt; English: <a href="http://www.sraoss.co.jp/index_en.php" rel="noreferrer" target="_blank">http://www.sraoss.co.jp/index_<wbr>en.php</a><br>
&gt;&gt; Japanese:<a href="http://www.sraoss.co.jp" rel="noreferrer" target="_blank">http://www.sraoss.co.<wbr>jp</a><br>
&gt;&gt;<br>
</font></span></span></div><br></div></div></div>
<br>______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://www.pgpool.net/mailman/<wbr>listinfo/pgpool-general</a><br>
<br></blockquote></div><br></div></div></div>