[pgpool-committers: 723] pgpool: Fix reaper() not to exit wait3() loop when catches pcp or worke

Tatsuo Ishii ishii at postgresql.org
Fri Nov 23 13:06:49 JST 2012


Fix reaper() not to exit wait3() loop when catches pcp or worker child
exit event. Otherwise reaper() mistakenly ignore some process exit
event and make a risk of creating zombie process and forgetting to
create new process.  Commit a99744560f54f6723799408cd3623a73b2b335e6
should be enough for pcp child case, but not enough for worker process
case. Problem reported and fix suggested by Goto in
[pgpool-general-jp: 1123].

Branch
------
V3_2_STABLE

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

Modified Files
--------------
main.c |    5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)



More information about the pgpool-committers mailing list