From 8b5ee400b53856a71d158165238b0e86c814f6c4 Mon Sep 17 00:00:00 2001 From: Bin Qian Date: Wed, 30 Nov 2022 15:36:37 +0000 Subject: [PATCH] Update pmon SM wait time to 15 seconds SM's pmon.conf file has the startuptime = 5 seconds but in Debian it's frequently taking longer than that for the SM process to start and produce its PID file. In order to make SM recovery process smooth, increase this timeout to 15 seconds. Closes-bug: 1998349 Signed-off-by: Bin Qian Change-Id: I64476e394e346c9b8cf5b5aca2ad04ba463b9728 --- service-mgmt/sm/scripts/sm.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service-mgmt/sm/scripts/sm.conf b/service-mgmt/sm/scripts/sm.conf index 97747ec9..9d454ee2 100644 --- a/service-mgmt/sm/scripts/sm.conf +++ b/service-mgmt/sm/scripts/sm.conf @@ -10,7 +10,7 @@ script = /etc/init.d/sm style = lsb ; lsb severity = critical ; minor, major, critical restarts = 3 ; restarts before error assertion -startuptime = 5 ; seconds to wait after process start +startuptime = 15 ; seconds to wait after process start interval = 5 ; number of seconds to wait between restarts debounce = 20 ; number of seconds to wait before degrade clear quorum = 1 ; process is in the host watchdog quorum