ctdb-scripts: Dump stack traces of smbd processes after shutdown
authorMartin Schwenke <martin@meltin.net>
Thu, 6 Oct 2016 00:14:09 +0000 (11:14 +1100)
committerAmitay Isaacs <amitay@samba.org>
Mon, 10 Oct 2016 10:54:24 +0000 (12:54 +0200)
commit72e415be4cdb39ba3443adf9a4a441b5474868fe
treecffc5f17b247037dcd80937da05070abd6f4155d
parentb3d938c9c03e8b726e966ccb979b09bd21e89f32
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
ctdb/config/events.d/50.samba
ctdb/tests/eventscripts/50.samba.shutdown.001.sh [new file with mode: 0755]
ctdb/tests/eventscripts/50.samba.shutdown.002.sh [new file with mode: 0755]
ctdb/tests/eventscripts/scripts/local.sh
ctdb/tests/eventscripts/stubs/pidof