[SCM] CTDB repository - branch 2.5 updated - ctdb-2.5.2-9-g2441655

Amitay Isaacs amitay at samba.org
Mon Feb 24 20:25:21 MST 2014


The branch, 2.5 has been updated
       via  24416553a521cc1e93f04e661bce0b2c78e8cd8b (commit)
      from  c632c6a6a97768683d25f7481ff8002961d2052a (commit)

http://gitweb.samba.org/?p=ctdb.git;a=shortlog;h=2.5


- Log -----------------------------------------------------------------
commit 24416553a521cc1e93f04e661bce0b2c78e8cd8b
Author: Martin Schwenke <martin at meltin.net>
Date:   Thu Feb 20 15:20:44 2014 +1100

    eventscripts: Switch on dumping of stuck nfsd threads
    
    This feature was added quite a while ago but was not enabled by
    default.  It is a useful feature so enable it to dump stack traces of
    up to 5 stuck processes by default.
    
    This can be disabled by setting:
    
      CTDB_NFS_DUMP_STUCK_THREADS=0
    
    Signed-off-by: Martin Schwenke <martin at meltin.net>
    Reviewed-by: Amitay Isaacs <amitay at gmail.com>
    
    Autobuild-User(master): Amitay Isaacs <amitay at samba.org>
    Autobuild-Date(master): Tue Feb 25 04:06:45 CET 2014 on sn-devel-104
    
    (Imported from commit fcf846a795085d24468548165d92762a628ef54d)

-----------------------------------------------------------------------

Summary of changes:
 config/functions     |    2 +-
 doc/ctdbd.conf.5.xml |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/config/functions b/config/functions
index 1aad3ae..1bcdc34 100755
--- a/config/functions
+++ b/config/functions
@@ -734,7 +734,7 @@ startstop_nfs() {
 # Dump up to the configured number of nfsd thread backtraces.
 nfs_dump_some_threads ()
 {
-    [ -n "$CTDB_NFS_DUMP_STUCK_THREADS" ] || return 0
+    [ -n "$CTDB_NFS_DUMP_STUCK_THREADS" ] || CTDB_NFS_DUMP_STUCK_THREADS=5
 
     # Optimisation to avoid running an unnecessary pidof
     [ $CTDB_NFS_DUMP_STUCK_THREADS -gt 0 ] || return 0
diff --git a/doc/ctdbd.conf.5.xml b/doc/ctdbd.conf.5.xml
index a1f6db5..3db554c 100644
--- a/doc/ctdbd.conf.5.xml
+++ b/doc/ctdbd.conf.5.xml
@@ -909,7 +909,7 @@ CTDB_PER_IP_ROUTING_TABLE_ID_HIGH=9000
 	      NFS during a restart.
 	    </para>
 	    <para>
-	      Default is 0.
+	      Default is 5.  Set this to 0 to disable this feature.
 	    </para>
 	  </listitem>
 	</varlistentry>


-- 
CTDB repository


More information about the samba-cvs mailing list