<div dir="auto"><div>Ok, I will send you the log ASAP.</div><div dir="auto">I forget to indicate that we are running two instances of pgpool using watchdog and VIP.</div><div dir="auto"><br></div><div dir="auto">I mean, in host A is running pgpool (active) and primary database. In host B is running the other instance of pgpool and the standby database.</div><div dir="auto">Sometimes I have to power off the host B and then, the clients connected to pgpool in VIP are disconnected.</div><div dir="auto"><br></div><div dir="auto">I have the same pgpool.conf for both pgpool instances. Do you need It?</div><div dir="auto"><br></div><div dir="auto">Thanks for your help!</div><div dir="auto"><br></div><div dir="auto">Best,</div><div dir="auto">Jesús <br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">El jue, 16 mar 2023 12:42, Tatsuo Ishii <<a href="mailto:ishii@sraoss.co.jp">ishii@sraoss.co.jp</a>> escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> I have a problem with clients disconnection when the slave node is turn<br>
> off.  It would be great if someone could help me with this issue.<br>
> <br>
> <br>
> <br>
> My environment is:<br>
> <br>
> <br>
> <br>
>    - OS: RHEL 5.7<br>
>    - Postgres 11<br>
>    - streaming replication as redundancy mode<br>
>    - In one server runs pgpool and the primary database (node 0), in<br>
>    another server runs the standby database (node 1).<br>
>    - Load balance mode is disabled<br>
>    - Both backend weight with default value<br>
> <br>
> <br>
> I have a great number of clients connected to pgpool. The problem ocurrs<br>
> when the slave node is stopped (because sometimes I need to power off the<br>
> slave host). All clients are disconnected. Is there a way to avoid these<br>
> disconnection?<br>
<br>
In most cases client connections should not be disconnected when the<br>
standby node goes down in this configuration. Can you share the pgpool<br>
log when the standby goes down?<br>
<br>
Best reagards,<br>
--<br>
Tatsuo Ishii<br>
SRA OSS LLC<br>
English: <a href="http://www.sraoss.co.jp/index_en/" rel="noreferrer noreferrer" target="_blank">http://www.sraoss.co.jp/index_en/</a><br>
Japanese:<a href="http://www.sraoss.co.jp" rel="noreferrer noreferrer" target="_blank">http://www.sraoss.co.jp</a><br>
</blockquote></div></div></div>