[OpenSIPS-Users] OpenSIPS core Dump
Iñaki Baz Castillo
ibc at aliax.net
Fri Nov 28 10:40:19 CET 2008
El Viernes, 28 de Noviembre de 2008, TCB escribió:
> My OpenSIPS keep breaking when i upgrade to 1.4, how do i enable core dump
> ?
If you are using a deb package (or made by "make deb"), and the Debian init
script, then you can set to "yes" the variable DUMP_CORE
in /etc/default/opensips.
Anyway, check the provided init scripts. Note that the related script code in
the Debian init script is:
if test "$DUMP_CORE" = "yes" ; then
# set proper ulimit
ulimit -c unlimited
# directory for the core dump files
COREDIR=/var/run/opensips/corefiles
[ -d $COREDIR ] || mkdir $COREDIR
chmod 777 $COREDIR
echo "$COREDIR/core.%e.sig%s.%p" > /proc/sys/kernel/core_pattern
fi
--
Iñaki Baz Castillo
More information about the Users
mailing list