[pgpool-committers: 586] pgpool: Fix too aggressively kill other processes when pgpool shuts dow
Tatsuo Ishii
ishii at postgresql.org
Mon Aug 20 11:54:37 JST 2012
Fix too aggressively kill other processes when pgpool shuts down.
watchdog process calls kill(0,SIG) to kill all processes related to
watchdog. Unfortunately this will kill not only watchdog related
processes but parent pgpool and even httpd in case when pgpool was
invoked from pgpoolAdmin because they are in the same process
group. So for now, fix is removing call to the kill() and setpgid()
because setpgid() does nothing useful.
In the future, we should call setsid() to establish new process group
in any case, I think.
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=abe14703baa18c88063fa20189863fba26fe9fb4
Modified Files
--------------
watchdog/watchdog.c | 3 ---
watchdog/wd_child.c | 3 ---
2 files changed, 0 insertions(+), 6 deletions(-)
More information about the pgpool-committers
mailing list