1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/ctdb/config/nfs-rpc-checks.d
Martin Schwenke fec69034ee eventscripts: Become unhealthy faster on nfsd failure
Anecdotal evidence suggests that most nfsd RPC check failures are due
to cluster filesystem or storage problem.  Apparently these are rarely
helped by attempting to restart the NFS service because the restart
tends to hang.

Fail after 2 nfsd RPC check failures, instead of waiting for 6
failures.  Restart on every 10th failure to try to bring the node back
to good health.

Update unit tests to match.

Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit e9ef93f7b6dad59eabaa32124df81f3e74c651ef)
2013-08-14 16:10:30 +10:00
..
10.statd.check eventscripts: Remove support for RPC service 'q' and 's' restart flags 2013-08-14 15:57:03 +10:00
20.nfsd.check eventscripts: Become unhealthy faster on nfsd failure 2013-08-14 16:10:30 +10:00
30.lockd.check eventscripts: Remove support for RPC service 'q' and 's' restart flags 2013-08-14 15:57:03 +10:00
40.mountd.check eventscripts: 60.nfs uses nfs_check_rpc_services() to check NFS RPC services 2013-05-07 12:55:09 +10:00
50.rquotad.check eventscripts: 60.nfs uses nfs_check_rpc_services() to check NFS RPC services 2013-05-07 12:55:09 +10:00