mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
Eventscripts: restart lockd in the background when going unhealthy
Sometimes the restart can hang when there are I/O problems. Then the eventscript times out and gets killed so the node never marked as unhealthy. Restarting in the background avoids this. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 13acd58c41fba1a33894fbd654fed69ea0eac322)
This commit is contained in:
parent
92eb004162
commit
ffbe59bd44
@ -98,7 +98,7 @@ case "$1" in
|
||||
|
||||
# check that lockd responds to rpc requests
|
||||
nfs_check_rpc_service "lockd" \
|
||||
-ge 15 "verbose restart unhealthy" \
|
||||
-ge 15 "verbose restart:b unhealthy" \
|
||||
-eq 10 "restart:bs"
|
||||
|
||||
# mountd is sometimes not started correctly on RHEL5
|
||||
|
Loading…
Reference in New Issue
Block a user