We were potentially leaving a node unable to serve requests for too
long.
Signed-off-by: Martin Schwenke <martin@meltin.net>
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"