From cd64460dac0a7973c9559d2b954b30454c0ddf43 Mon Sep 17 00:00:00 2001 From: david hill Date: Fri, 19 Feb 2016 13:38:02 -0600 Subject: [PATCH] added call to kill_by_pid during stopping, fix hanging issue --- dbcon/mysql/mysql-Calpont | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dbcon/mysql/mysql-Calpont b/dbcon/mysql/mysql-Calpont index 668b03fb3..3fd3e5d8b 100755 --- a/dbcon/mysql/mysql-Calpont +++ b/dbcon/mysql/mysql-Calpont @@ -51,7 +51,7 @@ datadir=/usr/local/Calpont/mysql/db # Value here is overriden by value in my.cnf. # 0 means don't wait at all # Negative numbers mean to wait indefinitely -service_startup_timeout=900 +service_startup_timeout=30 # Lock directory for RedHat / SuSE. lockdir='/var/lock/subsys' @@ -239,6 +239,7 @@ wait_for_gone () { continue # Check again. fi + kill_by_pid # Cannot help it log_failure_msg "The server quit without updating PID file ($pid_file_path)." return 1 # not waiting any more.