From: Martin Schwenke Date: Tue, 11 Jan 2011 06:13:57 +0000 (+1100) Subject: Eventscripts: lower the fail/restart limits for nfsd. X-Git-Url: http://git.samba.org/?p=sahlberg%2Fctdb.git;a=commitdiff_plain;h=c12e749e84f1ef1f5b5d8a26900f1d5c74e2319a 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 --- 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"