[OpenSIPS-Users] OpenSIPS core Dump

TCB tawandac at gmail.com
Fri Nov 28 12:06:51 CET 2008


No luck, i didnt use a deb, compiled on gentoo 2008.0. Are there any compile
time
flags i have to set.

TC

On Fri, Nov 28, 2008 at 11:40 AM, Iñaki Baz Castillo <ibc at aliax.net> wrote:

> 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
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>



-- 
TC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20081128/ac0e79fc/attachment.htm 


More information about the Users mailing list