mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
From Rusty
It's much nicer for post-mortem debugging to have a body to examine. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (This used to be ctdb commit 058e21d96c3c02759833fd5ddfe7b43e6a5f5740)
This commit is contained in:
parent
c915f2e5d5
commit
0d3bff5fa6
@ -144,6 +144,12 @@ start() {
|
||||
|
||||
check_persistent_databases || return $?
|
||||
|
||||
if [ yes == "$CTDB_SUPPRESS_COREFILE" ]; then
|
||||
ulimit -c 0
|
||||
else
|
||||
ulimit -c unlimited
|
||||
fi
|
||||
|
||||
case $init_style in
|
||||
valgrind)
|
||||
valgrind -q --log-file=/var/log/ctdb_valgrind \
|
||||
|
@ -187,6 +187,9 @@ CTDB_RECOVERY_LOCK="/some/place/on/shared/storage"
|
||||
# the default is ERR
|
||||
CTDB_DEBUGLEVEL=ERR
|
||||
|
||||
# whether to suppress core files. Default is no.
|
||||
# CTDB_SUPPRESS_COREFILE=yes
|
||||
|
||||
# Write debug messages to syslog instead of logfile?
|
||||
# The default is not to use syslog.
|
||||
# CTDB_SYSLOG=no
|
||||
|
Loading…
Reference in New Issue
Block a user