From 94dbd802a262e7d41b127b73fe6bb92530187c83 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sat, 25 Apr 2015 10:20:54 +1000 Subject: [PATCH] Wait longer after kill message --- src/ckpool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ckpool.c b/src/ckpool.c index 218139de..4bd99f22 100644 --- a/src/ckpool.c +++ b/src/ckpool.c @@ -808,7 +808,7 @@ static void terminate_oldpid(const ckpool_t *ckp, proc_instance_t *pi, const pid return; LOGWARNING("Old process %s pid %d failed to respond to terminate request, killing", pi->processname, oldpid); - if (kill_pid(oldpid, 9) || !pid_wait(oldpid, 500)) + if (kill_pid(oldpid, 9) || !pid_wait(oldpid, 3000)) quit(1, "Unable to kill old process %s pid %d", pi->processname, oldpid); }