[SR-Users] core dump

Klaus Darilion klaus.mailinglists at pernau.at
Wed May 11 11:40:20 CEST 2011


IIRC there were some changes in recent kernels which needs some more
tweaking (there was a commit from Daniel, but I can't remember the details)

regards
Klaus

Am 11.05.2011 10:28, schrieb Dominguez Jover, Ricardo:
> Hi everybody,
> 
> We are having an uncontrolled crash in Kamailio 3.1:
> 
> May 10 20:34:51 tip1 /usr/local/kamailio-3.1/sbin/kamailio[23366]: : <core> [pass_fd.c:293]: ERROR: receive_fd: EOF on 39
> May 10 20:34:51 tip1 /usr/local/kamailio-3.1/sbin/kamailio[23327]: ALERT: <core> [main.c:741]: child process 23364 exited by a signal 11
> May 10 20:34:51 tip1 /usr/local/kamailio-3.1/sbin/kamailio[23327]: ALERT: <core> [main.c:744]: core was not generated
> 
> 
> I've read in several posts I must generate the "Core Dump" to know what is happening. I'm trying to generate it in this way.
> 
> "/etc/init.d/Kamailio" file:
> if test "$DUMP_CORE" = "yes" ; then
> 1. set proper ulimit
> ulimit -c unlimited
> directory for the core dump files
> COREDIR=/dumps/
> [ -d $COREDIR ] || mkdir $COREDIR
> chmod 777 $COREDIR
> echo "$COREDIR/core.%e.sig%s.%p" > /proc/sys/kernel/core_pattern
> fi 
> 
> 
> "/etc/default/Kamailio" file:
> DUMP_CORE=yes
> 
> 
> But the core is not yet generated.
> 
> Then I've added -w option:
> 
> OPTIONS="-P $PID_FILE -m $MEMORY -u $USER -g $GROUP -w /dumps/"
> 
> But core still not generated
> 
> In "kamailio.cfg" I´ve also added:
> disable_core_dump=no 
> 
> 
> User running Kamailio is "kamailio" who has 777 permissions in /dumps/ directory. No way.
> 
> 
> Anyhelp would be appreciated.
> 
> Cheers,
> 
> Ricardo Domínguez
> 
> 
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



More information about the sr-users mailing list