diff options
| author | Martin Schwenke <martin@meltin.net> | 2013-06-13 11:56:25 +1000 |
|---|---|---|
| committer | Martin Schwenke <martin@meltin.net> | 2013-06-14 15:15:06 +1000 |
| commit | 45878d4363cfd50d218ff53c8aa3502b9d073016 (patch) | |
| tree | 747836e2101fabcc5c9ba6812d25e21f75d92b43 /ctdb/config/ctdb.sysconfig | |
| parent | f408caea2ad46dab3f8f19b97eda8c8652bd5ff4 (diff) | |
| download | samba-45878d4363cfd50d218ff53c8aa3502b9d073016.tar.gz samba-45878d4363cfd50d218ff53c8aa3502b9d073016.tar.xz samba-45878d4363cfd50d218ff53c8aa3502b9d073016.zip | |
eventscripts: New configuration varable $CTDB_NFS_DUMP_STUCK_THREADS
If some nfsd threads are still alive after a shutdown during a restart
then this indicates the maximum number of threads for which a stack
trace should be dumped. This can be useful for trying to determine
why nfsd is stuck.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 2503245db10d567af708a04edd3a3b488c24f401)
Diffstat (limited to 'ctdb/config/ctdb.sysconfig')
| -rw-r--r-- | ctdb/config/ctdb.sysconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ctdb/config/ctdb.sysconfig b/ctdb/config/ctdb.sysconfig index 25ad2aef95..7e775a2a79 100644 --- a/ctdb/config/ctdb.sysconfig +++ b/ctdb/config/ctdb.sysconfig @@ -142,6 +142,12 @@ CTDB_RECOVERY_LOCK="/some/place/on/shared/storage" # to not do this check. # CTDB_MONITOR_NFS_THREAD_COUNT="yes" + +# The number of nfsd threads to dump stack traces for if some are +# still alive after stopping NFS during a restart. The default is to +# dump no stack traces. +# CTDB_NFS_DUMP_STUCK_THREADS=5 + # When set to yes, the CTDB node will start in DISABLED mode and not host # any public ip addresses. The administrator needs to explicitely enable # the node with "ctdb enable" |
