diff options
| author | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2012-05-17 10:17:51 +1000 |
|---|---|---|
| committer | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2012-05-17 10:29:03 +1000 |
| commit | dce5969d1262f759abd7ba10602ff37ba6f5a3aa (patch) | |
| tree | d3d09632263e8edfa7b64ede69396d3c87383d39 /ctdb/config/ctdb.sysconfig | |
| parent | aa50bc580c7d18a85e1cb5cd7c36ef79c983a83f (diff) | |
| download | samba-dce5969d1262f759abd7ba10602ff37ba6f5a3aa.tar.gz samba-dce5969d1262f759abd7ba10602ff37ba6f5a3aa.tar.xz samba-dce5969d1262f759abd7ba10602ff37ba6f5a3aa.zip | |
Debug: When scripts hang, we may need to collect additional data in order to debug why the script hung.
Break this debug and datacollection out into an external script to make it easier to modify what data we need to collect.
For now we only collect a pstree so we can see what part of the script we hung in.
S1037271
(This used to be ctdb commit 6e68797af67bee36f2bad045f94806e7e98f27e9)
Diffstat (limited to 'ctdb/config/ctdb.sysconfig')
| -rw-r--r-- | ctdb/config/ctdb.sysconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ctdb/config/ctdb.sysconfig b/ctdb/config/ctdb.sysconfig index 163a0dd6ab..fecc7a5598 100644 --- a/ctdb/config/ctdb.sysconfig +++ b/ctdb/config/ctdb.sysconfig @@ -92,6 +92,9 @@ CTDB_RECOVERY_LOCK="/some/place/on/shared/storage" # a script to run when node health changes # CTDB_NOTIFY_SCRIPT=/etc/ctdb/notify.sh +# a script to collect data when an eventscript has hung +# CTDB_DEBUG_HUNG_SCRIPT=/etc/ctdb/debug-hung-script.sh + # the directory to put the local ctdb database files in # defaults to /var/ctdb # CTDB_DBDIR=/var/ctdb |
