TODO: server: add --panic-action and CTDB_PANIC_ACTION option for backtrace support
[metze/ctdb/wip.git] / config / ctdb.sysconfig
index 011593d7bcc36f49cd99d8d2b86f6a66c72fe6d6..87497553969bdf23c9fa3c42ac74d47377cd67cb 100644 (file)
@@ -295,6 +295,13 @@ CTDB_DEBUGLEVEL=ERR
 #    CTDB_SET_TRAVERSETIMEOUT=60
 # you can get a list of variables using "ctdb listvars"
 
+# setup a panic action which is triggerd when ctdbd
+# gets SIGABRT, SIGBUS, SIGSEGV or SIGFPE.
+#
+# The magic values %PID% and %PROG% will be substituted.
+#
+# CTDB_PANIC_ACTION="/etc/ctdb/gdb_backtrace %PID% %PROG%"
+
 # any other options you might want. Run ctdbd --help for a list
 # CTDB_OPTIONS=