<html><body>
    <br />
    <br />

<table width="800" border="0" cellpadding="0" cellspacing="0">
<tbody>
  <tr>
    <td colspan="8" valign="top"><table width="800" border="0" cellpadding="0" cellspacing="0">
      <tbody>
        <tr>
          <td colspan="8" valign="top"><table width="800" border="0" cellpadding="0" cellspacing="0">
            <tbody>
              <tr>
                <td width="40" rowspan="2" valign="top"><table border="0" cellspacing="0" cellpadding="0"><tr><td><IMG border="0" src="cid:118011108533001105@uk-mta-33.uk.mimecast.lan" ></td></tr></table></td>
                <td width="9" rowspan="2">&nbsp;</td>
                <td width="480" valign="top" cellpadding="0" cellspacing="0">
<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 width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tbody>
<tr><td height="4" style="font-size: 4px;" cellpadding="0" cellspacing="0">&nbsp;</td></tr>                      
<tr>
                        <td width="56%" valign="top">
                          <span style="font-size: 11px; font-family: Arial; margin: 0; padding: 0;">
ddi. <strong>08454 210444</strong><br />

t. <strong>0845 123 2222</strong>
<br />e. <strong style="color:#303a3d; text-decoration:none;">P.Gbyliczek@node4.co.uk</strong></span>
</td>
<td width="44%" align="left" valign="top"><span style="font-size: 11px; font-family: Arial; margin: 0; padding: 0;"><strong>Nottingham Office</strong><br />Node4 Ltd, The POD,<br />10 Bottle Ln, Nottingham, NG1 2HL</span></td>
                      </tr>
                    </tbody>
                  </table>
                  <p>&nbsp;</p>
</td>
                
                <td colspan="8" align="right" valign="top">
<table border="0" cellspacing="0" cellpadding="0"><tr><td><a href="http://www.node4.co.uk"><IMG border="0" alt="Visit www.node4.co.uk" src="cid:118011108533001505@uk-mta-33.uk.mimecast.lan" ></A></td></tr></table>
                  <table width="100%" height="46" border="0" cellpadding="0" cellspacing="0">
                    <tbody>
                       <tr>
                      <td colspan="8" height="12" style="font-size: 4px;" cellpadding="0" cellspacing="0"></td>
                      </tr>
                      <tr>
<td>&nbsp;</td>
                        <td align="right"><table border="0" cellspacing="0" cellpadding="0"><tr><td><a href="http://www.node4.co.uk"><IMG border="0" alt="Visit www.node4.co.uk" src="cid:118011108533001705@uk-mta-33.uk.mimecast.lan" ></A></td></tr></table></td>
                        <td>&nbsp;</td>
                        <td align="right"><table border="0" cellspacing="0" cellpadding="0"><tr><td><a href="http://www.twitter.co.uk/Node4Ltd"><IMG border="0" alt="Visit Node4 on Twitter" src="cid:118011108533001605@uk-mta-33.uk.mimecast.lan" ></A></td></tr></table></td>
                        <td>&nbsp;</td>
                        <td align="right"><table border="0" cellspacing="0" cellpadding="0"><tr><td><a href="https://www.linkedin.com/company/node4-ltd"><IMG border="0" alt="Visit Node4 on Linkedin" src="cid:118011108533001405@uk-mta-33.uk.mimecast.lan" ></A></td></tr></table></td>
                        <td>&nbsp;</td>
                        <td align="right"><table border="0" cellspacing="0" cellpadding="0"><tr><td><a href="http://www.facebook.com/Node4"><IMG border="0" alt="Visit Node4 on Facebook" src="cid:118011108533001305@uk-mta-33.uk.mimecast.lan" ></A></td></tr></table></td>
                      </tr>
                    </tbody>
                  </table>
                  <p>&nbsp;</p>
</td>
                <td width="10" rowspan="2">&nbsp;</td>
                <td width="40" rowspan="2" valign="top"><table border="0" cellspacing="0" cellpadding="0"><tr><td><IMG border="0" src="cid:118011108533001105@uk-mta-33.uk.mimecast.lan" ></td></tr></table></td>
              </tr>
              
            </tbody>
          </table></td>
</tr>
        </tbody>
    </table>
<table width="800" border="0" cellpadding="0" cellspacing="0">
  <tbody><tr>
<td>
<table border="0" cellspacing="0" cellpadding="0"><tr><td><a href="https://www.node4.co.uk/events/how-to-solve-your-database-management-challenge/"><IMG border="0" src="cid:118011108533001805@uk-mta-33.uk.mimecast.lan" ></A></td></tr></table></td><td><table border="0" cellspacing="0" cellpadding="0"><tr><td><a href="https://www.node4.co.uk/events/leeds-open-day/"><IMG border="0" src="cid:118011108533001205@uk-mta-33.uk.mimecast.lan" ></A></td></tr></table>
</td>
</tr>
</tbody></table>
<p> </p>
</td>
</tr>
    <tr>
    <td colspan="8">
    On Thursday, 11 January 2018 08:38:44 GMT Aleksander Englert wrote:<BR>
&gt; Thanks for fast reaction. The problem is that as soon as I connect to<BR>
&gt; pgpool only with pgadmin, restart is not possible, pgpool is hanging.<BR>
&gt; When I close the pgadmin, pgpool is then turned off and waits to start.<BR>
&gt; The entire process path is shown in the following step-by-step<BR>
&gt; screenshots. Earlier, pgpool version 3.2.3 was used and a similar<BR>
&gt; problem did not occur. I will just say that the topic is very important<BR>
&gt; to us, because it is about using pgpool in the application used in the<BR>
&gt; Ministry of Finance.<BR>
<BR>
AFAIK pgpool does wait for connections to be closed on stopping. <BR>
<BR>
The timeout that Tatsuo suggested should help with that, but setting it too <BR>
low may cause some legitimatelly idle connections being cut off.<BR>
<BR>
You can have a look at this (from pgpool --help) : <BR>
<BR>
=================<BR>
Stop options:<BR>
  -m, --mode=SHUTDOWN-MODE<BR>
                      Can be &quot;smart&quot;, &quot;fast&quot;, or &quot;immediate&quot;<BR>
<BR>
Shutdown modes are:<BR>
  smart       quit after all clients have disconnected<BR>
  fast        quit directly, with proper shutdown                                                                                                                                                                                            <BR>
  immediate   the same mode as fast <BR>
=================<BR>
<BR>
and set appropriate option  in /etc/sysconfig/pgpool or in pgpool.conf (not <BR>
sure if that is possible there)<BR>
<BR>
Another solution may be to add another pgpool server and use watchdog. I've <BR>
seen pgpool hanging on stop all the time, but since we use it normally in <BR>
active passive pair, watchdog detects that pgpool is stopped and passive <BR>
pgpool pick ups the active role, thus allowing new connections to go through <BR>
to database. I usually wait few minutes on the former active server and then <BR>
kill pgppool processes there, then start pgpool back as passive server in <BR>
pair. <BR>
<BR>
<BR>
Regards,<BR>
Piotr<BR>
-- <BR>


<small style="font-family: Arial; color: #8E908F;">
<br />Node4 Limited is registered in England No: 04759927 and has its registered office at Millennium Way, Pride Park, Derby, DE24 8HZ<br />
The information contained in this email is confidential and is intended for the exclusive use of the email addressee shown.<br />
If you are not the addressee, any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited.<br />
If you have received this mail in error, please notify our mail manager at <a href="mailto:abuse@node4.co.uk" style="color: #E05206; text-decoration: none;" target="_blank">abuse@node4.co.uk</a> and delete it from your system.<br />
Opinions expressed in this email are those of the individual not the company, unless specifically indicated to that effect.


<hr style="height: 0; border-top-style: solid; border-top-color: #D1D4D3; margin: 4px 0px; border-width: 1px 0 0;" />

This email has been scanned by Node4's Email Security System.
<hr style="height: 0; border-top-style: solid; border-top-color: #D1D4D3; margin: 4px 0px; border-width: 1px 0 0;" />
This email message has been delivered safely and archived online by Mimecast.</small>
    
</td>
    </tr>
</tbody>
</table>
  
 

</body></html>