[pgpool-committers: 4423] pgpool: Fix health checking process death and forking forever.

Tatsuo Ishii ishii at postgresql.org
Tue Dec 19 07:39:26 JST 2017


Fix health checking process death and forking forever.

When failed to read from backend socket (this could happen when wrong
health_check_user is specified), the health check process raises a
FATAL error in pool_read(), which causes death of health check
process. And Pgpool-II main forks off a new health check process. This
repeats forever.

Fix is, check the process type and it raises if the type is HEALTH
CHECK in addition to MAIN.

Back patch to 3.7 stable tree as well.

Branch
------
V3_7_STABLE

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=7898d48ed76940b67694adf118f7de6d4feb4c4a

Modified Files
--------------
src/utils/pool_stream.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



More information about the pgpool-committers mailing list