[pgpool-committers: 3049] pgpool: Fix for [pgpool-general: 4519] Worker Processes Exit and Are No

Muhammad Usama m.usama at gmail.com
Tue Mar 8 00:43:28 JST 2016


Fix for [pgpool-general: 4519] Worker Processes Exit and Are Not Re-spawned

The problem was due to a logical mistake in the code for checking the exiting
child process type when the watchdog is enabled.
I have also changed the severity of the message from FATAL to LOG, emitted
for child exits due to max connection reached.

Branch
------
V3_5_STABLE

Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=e2f822fae9a4956f210bccafd0eade26642c90fa

Modified Files
--------------
src/include/utils/elog.h            |  9 ++++++---
src/main/pgpool_main.c              | 16 +++++++++++++---
src/pcp_con/pcp_child.c             |  2 +-
src/protocol/child.c                | 26 +++++++++++++-------------
src/protocol/pool_connection_pool.c |  2 +-
src/protocol/pool_proto_modules.c   |  2 +-
src/utils/error/elog.c              |  2 +-
src/utils/pool_ssl.c                |  4 ++--
src/utils/pool_stream.c             | 14 +++++++-------
src/watchdog/watchdog.c             |  2 +-
src/watchdog/wd_lifecheck.c         |  2 +-
11 files changed, 47 insertions(+), 34 deletions(-)



More information about the pgpool-committers mailing list