<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">W dniu 22.09.2016 o 10:26, Piotr
      Gbyliczek pisze:<br>
    </div>
    <blockquote cite="mid:3988134.jlGZ8KZSYQ@takeshi.reconnix.com"
      type="cite"> <br>
      <br>
      <table border="0" cellpadding="0" cellspacing="0" width="800">
        <tbody>
          <tr>
            <td colspan="8" valign="top">
              <table border="0" cellpadding="0" cellspacing="0"
                width="800">
                <tbody>
                  <tr>
                    <td colspan="8" valign="top">
                      <table border="0" cellpadding="0" cellspacing="0"
                        width="800">
                        <tbody>
                          <tr>
                            <td rowspan="2" valign="top" width="40">
                              <table border="0" cellpadding="0"
                                cellspacing="0">
                                <tbody>
                                  <tr>
                                    <td><img
                                        src="cid:part1.46C844A5.9766315E@kity.pl"
                                        border="0"></td>
                                  </tr>
                                </tbody>
                              </table>
                            </td>
                            <td rowspan="2" width="9"> </td>
                            <td cellpadding="0" cellspacing="0"
                              valign="top" width="480">
                              <span style="font-size: 20px; font-weight:
                                bold; font-family: Arial; margin: 0;
                                padding: 0;">Piotr Gbyliczek</span>
                              <hr style="height: 0; border-top-style:
                                solid; border-top-color: #E05206; color:
                                #E05206; margin: 4px 0px; border-width:
                                1px 0 0;"> <span style="font-weight:
                                lighter; font-size: 14px; font-family:
                                Arial; margin: 0; padding: 0;">Solutions
                                Engineer</span>
                              <table border="0" cellpadding="0"
                                cellspacing="0" width="100%">
                                <tbody>
                                  <tr>
                                    <td style="font-size: 4px;"
                                      cellpadding="0" cellspacing="0"
                                      height="4"> </td>
                                  </tr>
                                  <tr>
                                    <td valign="top" width="56%"> <span
                                        style="font-size: 11px;
                                        font-family: Arial; margin: 0;
                                        padding: 0;">
                                        ddi. <strong>08454 210444</strong><br>
                                        t. <strong>0845 421 0444</strong>
                                        <br>
                                        e. <strong
                                          style="color:#303a3d;
                                          text-decoration:none;"><a class="moz-txt-link-abbreviated" href="mailto:P.Gbyliczek@node4.co.uk">P.Gbyliczek@node4.co.uk</a></strong></span>
                                    </td>
                                    <td align="left" valign="top"
                                      width="44%"><span
                                        style="font-size: 11px;
                                        font-family: Arial; margin: 0;
                                        padding: 0;"><strong>Newark
                                          Office</strong><br>
                                        Node4 Ltd, Innovation House,<br>
                                        Cafferata Way, Newark, NG24 2TN</span></td>
                                  </tr>
                                </tbody>
                              </table>
                              <p> </p>
                            </td>
                            <td colspan="8" align="right" valign="top">
                              <table border="0" cellpadding="0"
                                cellspacing="0">
                                <tbody>
                                  <tr>
                                    <td><a moz-do-not-send="true"
                                        href="http://www.node4.co.uk"><img
                                          alt="Visit www.node4.co.uk"
                                          src="cid:part2.E8B16275.9A70C98A@kity.pl"
                                          border="0"></a></td>
                                  </tr>
                                </tbody>
                              </table>
                              <table border="0" cellpadding="0"
                                cellspacing="0" height="46" width="100%">
                                <tbody>
                                  <tr>
                                    <td colspan="8" style="font-size:
                                      4px;" cellpadding="0"
                                      cellspacing="0" height="12"><br>
                                    </td>
                                  </tr>
                                  <tr>
                                    <td> </td>
                                    <td align="right">
                                      <table border="0" cellpadding="0"
                                        cellspacing="0">
                                        <tbody>
                                          <tr>
                                            <td><a
                                                moz-do-not-send="true"
                                                href="http://www.node4.co.uk"><img
                                                  alt="Visit
                                                  www.node4.co.uk"
                                                  src="cid:part4.09F8B1EA.1A5B298B@kity.pl"
                                                  border="0"></a></td>
                                          </tr>
                                        </tbody>
                                      </table>
                                    </td>
                                    <td> </td>
                                    <td align="right">
                                      <table border="0" cellpadding="0"
                                        cellspacing="0">
                                        <tbody>
                                          <tr>
                                            <td><a
                                                moz-do-not-send="true"
                                                href="http://www.twitter.co.uk/Node4Ltd"><img
                                                  alt="Visit Node4 on
                                                  Twitter"
                                                  src="cid:part6.0E43E0A4.EA11DE6A@kity.pl"
                                                  border="0"></a></td>
                                          </tr>
                                        </tbody>
                                      </table>
                                    </td>
                                    <td> </td>
                                    <td align="right">
                                      <table border="0" cellpadding="0"
                                        cellspacing="0">
                                        <tbody>
                                          <tr>
                                            <td><a
                                                moz-do-not-send="true"
                                                href="https://www.linkedin.com/company/node4-ltd"><img
                                                  alt="Visit Node4 on
                                                  Linkedin"
                                                  src="cid:part8.875D13BD.0D66F13A@kity.pl"
                                                  border="0"></a></td>
                                          </tr>
                                        </tbody>
                                      </table>
                                    </td>
                                    <td> </td>
                                    <td align="right">
                                      <table border="0" cellpadding="0"
                                        cellspacing="0">
                                        <tbody>
                                          <tr>
                                            <td><a
                                                moz-do-not-send="true"
                                                href="http://www.facebook.com/Node4"><img
                                                  alt="Visit Node4 on
                                                  Facebook"
                                                  src="cid:part10.48C90B31.AB53F683@kity.pl"
                                                  border="0"></a></td>
                                          </tr>
                                        </tbody>
                                      </table>
                                    </td>
                                  </tr>
                                </tbody>
                              </table>
                              <p> </p>
                            </td>
                            <td rowspan="2" width="10"> </td>
                            <td rowspan="2" valign="top" width="40">
                              <table border="0" cellpadding="0"
                                cellspacing="0">
                                <tbody>
                                  <tr>
                                    <td><img
                                        src="cid:part1.46C844A5.9766315E@kity.pl"
                                        border="0"></td>
                                  </tr>
                                </tbody>
                              </table>
                            </td>
                          </tr>
                        </tbody>
                      </table>
                    </td>
                  </tr>
                </tbody>
              </table>
              <table border="0" cellpadding="0" cellspacing="0"
                width="800">
                <tbody>
                  <tr>
                    <td>
                      <table border="0" cellpadding="0" cellspacing="0">
                        <tbody>
                          <tr>
                            <td><a moz-do-not-send="true"
                                href="http://south.convergencesummit.co.uk"><img
                                  alt="Convergence Summit South 2016 -
                                  Visit us at Stand 75"
                                  src="cid:part13.DC816562.D4F21A55@kity.pl"
                                  border="0"></a></td>
                          </tr>
                        </tbody>
                      </table>
                    </td>
                  </tr>
                </tbody>
              </table>
              <p> </p>
            </td>
          </tr>
          <tr>
            <td colspan="8"> On Wednesday 21 September 2016 23:12:27
              Krzysztof Mościcki wrote:<br>
              &gt; Hello<br>
              &gt; <br>
              &gt; I have problem with initiate new connection to master
              node through<br>
              &gt; pgpool, when slave node goes down.<br>
              &gt; <br>
              &gt; I have configuration, where is streamin replication
              mode, and<br>
              &gt; failover_over_backend_error is off. System Ubuntu
              14.04, Pgpool 3.5.3<br>
              &gt; version + patch from:<br>
              &gt; <a moz-do-not-send="true"
href="http://www.sraoss.jp/pipermail/pgpool-general/2016-July/004884.html"
                target="_blank">http://www.sraoss.jp/pipermail/pgpool-general/2016-July/004884.html</a>,<br>
              &gt; Postgres version 9.4.<br>
              &gt; <br>
              &gt; I tested this on Google Cloud, when are 3 servers:<br>
              &gt; <br>
              &gt; 1. Postgres master + Pgpool (ip: 10.1.0.19),<br>
              &gt; <br>
              &gt; 2. Postgres slave + Pgpool (ip: 10.1.0.23),<br>
              &gt; <br>
              &gt; 3. Pgpool<br>
              &gt; <br>
              &gt; On second server I run "ifdown eth0", and current
              connections works, but<br>
              &gt; I can't initiate new connection.<br>
              <br>
              So, if I understand correctly, you are shutting down the
              network interface on <br>
              server 2 and from that point that server has problem
              connecting to postgresql <br>
              via pgpool ? Would that be because that server is running
              active pgpool and <br>
              you connecting locally to it, which means on simulated
              downtime it has lost <br>
              connection to primary database in pool (which sits on
              server 1, right )? <br>
              <br>
              Regards<br>
              Piotr<br>
              <small style="font-family: Arial; color: #8E908F;">
              </small></td>
          </tr>
        </tbody>
      </table>
    </blockquote>
    I simulate problem with connection to server nr 2, so Postgres slave
    and second Pgpool are down, and I'm trying connection from another
    (my) computer through Pgpool on server nr 1 (and eventually through
    Pgpool on server nr 3, but is the same as through Pgpoolo on server
    nr 1).<br>
    When server 2 goes down (no connection to this server), Pgpool on
    server 1 should redirect my connections to Postgres master on the
    same server nr 1. Current connections are working, but if I want
    initiate new connection through Pgpool on server nr 1, I'm waiting
    long time without effect, so I can't create new connection, only I
    can use current connections.<br>
    I hope now is clear, I wrote previous mail at night :)<br>
    <br>
    Regards<br>
    Kris<br>
  </body>
</html>