summaryrefslogtreecommitdiffstats
path: root/ctdb/tcp/tcp_connect.c
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2013-06-13 10:17:20 +1000
committerMartin Schwenke <martin@meltin.net>2013-06-13 20:01:22 +1000
commitf408caea2ad46dab3f8f19b97eda8c8652bd5ff4 (patch)
treea847cc6fe3577543023bc9982328828bee6bd77a /ctdb/tcp/tcp_connect.c
parent7513f0ba6110c160e3f207db0d233c94609ee45f (diff)
downloadsamba-f408caea2ad46dab3f8f19b97eda8c8652bd5ff4.tar.gz
samba-f408caea2ad46dab3f8f19b97eda8c8652bd5ff4.tar.xz
samba-f408caea2ad46dab3f8f19b97eda8c8652bd5ff4.zip
eventscripts: Add new option $CTDB_MONITOR_NFS_THREAD_COUNT
Consider the following example: 1. There are 256 nfsd threads configured. 2. 200 threads are "stuck" in system calls, perhaps waiting for the underlying filesystem when an attempt is made to restart NFS. 3. 56 threads exit when NFS is stopped. 4. 56 new threads are started when NFS is started. 5. 200 "stuck" threads exit leaving only 56 threads running. Setting this option to "yes" makes the 60.nfs monitor event look for this situation and try to correct it. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 99b0d8b8ecc36dfc493775b9ebced54539c182d2)
Diffstat (limited to 'ctdb/tcp/tcp_connect.c')
0 files changed, 0 insertions, 0 deletions