diff options
author | Martin Schwenke <martin@meltin.net> | 2011-01-11 17:13:57 +1100 |
---|---|---|
committer | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2011-01-11 16:49:46 +1100 |
commit | 59c5a9f2791f6112a743d1da77db04ab14e20043 (patch) | |
tree | 8bd6b26f686a851db82a3f0dda58aacb9759afec /ctdb/config | |
parent | 96378d6dc80034dce3f5dc03632e59fa70126ad5 (diff) | |
download | samba-59c5a9f2791f6112a743d1da77db04ab14e20043.tar.gz samba-59c5a9f2791f6112a743d1da77db04ab14e20043.tar.xz samba-59c5a9f2791f6112a743d1da77db04ab14e20043.zip |
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 <martin@meltin.net>
(This used to be ctdb commit 5be8610ffa33db49e33949560d0ef2fa5f3c0c73)
Diffstat (limited to 'ctdb/config')
-rwxr-xr-x | ctdb/config/events.d/60.nfs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ctdb/config/events.d/60.nfs b/ctdb/config/events.d/60.nfs index f5530e3153..79a071bab9 100755 --- a/ctdb/config/events.d/60.nfs +++ b/ctdb/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" |