diff options
author | Martin Schwenke <martin@meltin.net> | 2016-10-06 11:14:09 +1100 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2016-10-10 12:54:24 +0200 |
commit | 72e415be4cdb39ba3443adf9a4a441b5474868fe (patch) | |
tree | cffc5f17b247037dcd80937da05070abd6f4155d /ctdb/config | |
parent | b3d938c9c03e8b726e966ccb979b09bd21e89f32 (diff) | |
download | samba-72e415be4cdb39ba3443adf9a4a441b5474868fe.tar.gz |
ctdb-scripts: Dump stack traces of smbd processes after shutdown
If any processes remain then they may be stuck in D state and this
might tell us why.
Update tests: tweak pidof stub, add support for smbd stack traces and
add some new tests for the shutdown event.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Mon Oct 10 12:54:24 CEST 2016 on sn-devel-144
Diffstat (limited to 'ctdb/config')
-rwxr-xr-x | ctdb/config/events.d/50.samba | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/config/events.d/50.samba b/ctdb/config/events.d/50.samba index b521d00858f..4ed892cdc59 100755 --- a/ctdb/config/events.d/50.samba +++ b/ctdb/config/events.d/50.samba @@ -65,6 +65,7 @@ service_start () service_stop () { service "$CTDB_SERVICE_SMB" stop + program_stack_traces "smbd" 5 if [ -n "$CTDB_SERVICE_NMB" ] ; then service "$CTDB_SERVICE_NMB" stop fi |