ctdb-scripts: Dump stack traces of smbd processes after shutdown

Enterprise / Samba - Martin Schwenke [meltin.net] - 10 October 2016 05:54 UTC

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.

72e415b ctdb-scripts: Dump stack traces of smbd processes after shutdown
ctdb/config/events.d/50.samba | 1 +
ctdb/tests/eventscripts/50.samba.shutdown.001.sh | 12 ++++++++
ctdb/tests/eventscripts/50.samba.shutdown.002.sh | 15 ++++++++++
ctdb/tests/eventscripts/scripts/local.sh | 33 +++++++++++++++++++---
ctdb/tests/eventscripts/stubs/pidof | 7 +++--
5 files changed, 62 insertions(+), 6 deletions(-)

Upstream: gitweb.samba.org


  • Share