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

Tatsuo Ishii ishii at postgresql.org
Fri Nov 23 13:01:42 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
------
master

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

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



More information about the pgpool-committers mailing list