From c12e749e84f1ef1f5b5d8a26900f1d5c74e2319a Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Tue, 11 Jan 2011 17:13:57 +1100 Subject: [PATCH] Eventscripts: lower the fail/restart limits for nfsd. We were potentially leaving a node unable to serve requests for too long. Signed-off-by: Martin Schwenke --- config/events.d/60.nfs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/events.d/60.nfs b/config/events.d/60.nfs index f5530e31..79a071ba 100755 --- a/config/events.d/60.nfs +++ b/config/events.d/60.nfs @@ -89,13 +89,13 @@ case "$1" in service_name="nfs_knfsd" ctdb_counter_incr - ctdb_check_counter_equal 10 || { + ctdb_check_counter_equal 2 || { echo "Trying to restart NFS service" startstop_nfs restart >/dev/null 2>&1 & exit 0 } - ctdb_check_counter_limit 15 quiet >/dev/null + ctdb_check_counter_limit 5 quiet >/dev/null ) || { echo "$ctdb_check_rpc_out" echo "Trying to restart NFS service" -- 2.34.1