pgpool2.git / summary / log / commit / refs

commit    fe0e52cd88778b97e9035f6b9c01ae759f1a62ff
Author:   Tatsuo Ishii <ishii@postgresql.org>
Date:     Wed Jun 13 09:12:31 2012 +0000

    Comment out following line:
    	kill(watchdog_pid, sig);
    This causes inifinite loop of signal sending and produces core.
    When following error occurs:
    2012-06-13 18:10:16 ERROR: pid 29972: wd_check_config failed
    watchdog_pid is set to 0, which means myself and causes sending
    infinite signal.


main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.c b/main.c index 6d2239e24..512d80c89 100644 --- a/main.c +++ b/main.c @@ -1560,7 +1560,10 @@ static RETSIGTYPE exit_handler(int sig) kill(pcp_pid, sig); kill(worker_pid, sig); + pool_log("watchdog_pid: %d", watchdog_pid); +/* kill(watchdog_pid, sig); +*/ POOL_SETMASK(&UnBlockSig); [parent: 9ae0c62b0d0c]