<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 9, 2022 at 12:53 AM Steeve Boulanger <<a href="mailto:sboulanger29@gmail.com">sboulanger29@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Greetings,<div><br></div><div>We're facing an issue where an ansible playbook does a network reset on all interfaces where we have pgpool running, and this seems to cause it to shut down: </div><div><br></div><div>***</div><div>2022-11-08 18:22:39.737: watchdog pid 1323090: DEBUG:  network event received<br>2022-11-08 18:22:39.737: watchdog pid 1323090: DETAIL:  deleted = YES Link change event = NO<br>2022-11-08 18:22:39.737: watchdog pid 1323090: DEBUG:  STATE MACHINE INVOKED WITH EVENT = NETWORK IP IS REMOVED Current State = STANDBY<br>2022-11-08 18:22:39.737: watchdog pid 1323090: DEBUG:  network interface lo having flags 65609<br>2022-11-08 18:22:39.737: watchdog pid 1323090: DEBUG:  network interface ens192 having flags 4099<br>2022-11-08 18:22:39.737: watchdog pid 1323090: NOTICE:  network interface "ens192" link is inactive<br>2022-11-08 18:22:39.737: watchdog pid 1323090: DEBUG:  network interface lo having flags 65609<br>2022-11-08 18:22:39.737: watchdog pid 1323090: DEBUG:  network interface lo having flags 65609<br>2022-11-08 18:22:39.737: watchdog pid 1323090: DEBUG:  network interface ens192 having flags 4099<br>2022-11-08 18:22:39.737: watchdog pid 1323090: NOTICE:  network interface "ens192" link is inactive<br>2022-11-08 18:22:39.737: watchdog pid 1323090: WARNING:  network event has occurred and all monitored interfaces are down<br>2022-11-08 18:22:39.737: watchdog pid 1323090: DETAIL:  changing the state to in network trouble<br>2022-11-08 18:22:39.737: watchdog pid 1323090: LOG:  watchdog node state changed from [STANDBY] to [IN NETWORK TROUBLE]<br>2022-11-08 18:22:39.737: watchdog pid 1323090: DEBUG:  STATE MACHINE INVOKED WITH EVENT = STATE CHANGED Current State = IN NETWORK TROUBLE<br>2022-11-08 18:22:39.737: watchdog pid 1323090: FATAL:  system has lost the network<br>2022-11-08 18:22:39.737: watchdog pid 1323090: LOG:  Watchdog is shutting down</div><div>***<br></div><div>And since the playbook runs on all pgpool nodes, this is causing a DB service outage. </div><div><br></div><div>I've looked at the documentation, but I haven't been able to find if there was perhaps a timeout parameter, or some other way to avoid pgpool to shut down during this short network reset. Any insights would be greatly appreciated! </div></div></blockquote><div><br></div><div>If network interface monitoring is enabled, the Pgpool-II node commits suicide when all (monitored) network interfaces become inactive.</div><div>You need to verify the value of the wd_monitoring_interface_list configuration in pgpool.conf</div><div><br></div><div>see <span style="color:rgb(0,0,0);font-family:monospace;font-size:medium"><a href="https://www.pgpool.net/docs/43/en/html/runtime-watchdog-config.html#CONFIG-WATCHDOG-LIFECHECK">wd_monitoring_interfaces_list</a> </span>config parameter for more details </div><div><br></div><div>Thanks</div><div>Best regards</div><div>Muhammad Usama</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><div>Thanks,</div><div>Steeve</div></div>
_______________________________________________<br>
pgpool-general mailing list<br>
<a href="mailto:pgpool-general@pgpool.net" target="_blank">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/listinfo/pgpool-general</a><br>
</blockquote></div></div>