No luck, i didnt use a deb, compiled on gentoo 2008.0. Are there any compile time <br>flags i have to set.<br><br>TC<br><br><div class="gmail_quote">On Fri, Nov 28, 2008 at 11:40 AM, Iñaki Baz Castillo <span dir="ltr"><<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">El Viernes, 28 de Noviembre de 2008, TCB escribió:<br>
<div class="Ih2E3d">> My OpenSIPS keep breaking when i upgrade to 1.4, how do i enable core dump<br>
> ?<br>
<br>
</div>If you are using a deb package (or made by "make deb"), and the Debian init<br>
script, then you can set to "yes" the variable DUMP_CORE<br>
in /etc/default/opensips.<br>
<br>
Anyway, check the provided init scripts. Note that the related script code in<br>
the Debian init script is:<br>
<br>
if test "$DUMP_CORE" = "yes" ; then<br>
# set proper ulimit<br>
ulimit -c unlimited<br>
<br>
# directory for the core dump files<br>
COREDIR=/var/run/opensips/corefiles<br>
[ -d $COREDIR ] || mkdir $COREDIR<br>
chmod 777 $COREDIR<br>
echo "$COREDIR/core.%e.sig%s.%p" > /proc/sys/kernel/core_pattern<br>
fi<br>
<font color="#888888"><br>
<br>
--<br>
Iñaki Baz Castillo<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>TC<br>