Rev 611: handle hung or slow ctdb daemons on shutdown in http://samba.org/~tridge/ctdb

tridge at samba.org tridge at samba.org
Wed Sep 12 03:26:25 GMT 2007


------------------------------------------------------------
revno: 611
revision-id: tridge at samba.org-20070912032624-mvqejao5icdy4nj2
parent: tridge at samba.org-20070912032336-kd53zjqj2i1dgomi
committer: Andrew Tridgell <tridge at samba.org>
branch nick: tridge.test2
timestamp: Wed 2007-09-12 13:26:24 +1000
message:
  handle hung or slow ctdb daemons on shutdown
modified:
  config/ctdb.init               ctdb.init-20070527204758-biuh7znabuwan3zn-6
=== modified file 'config/ctdb.init'
--- a/config/ctdb.init	2007-09-10 05:09:28 +0000
+++ b/config/ctdb.init	2007-09-12 03:26:24 +0000
@@ -92,6 +92,8 @@
 stop() {
 	echo -n $"Shutting down ctdbd service: "
 	ctdb shutdown
+	sleep 1
+	killall -q -9 ctdbd
 	RETVAL=$?
 	case $init_style in
 	    suse)



More information about the samba-cvs mailing list