Thanks Klaus, I found the commit which is included in release 3.1.3. We've 
upgraded some hours ago and no crash at the moment (so no core dump is neither 
generated).

I'll let you know about this issue.

Regards,
Ricardo

-----Mensaje original-----
De: sr-users-boun...@lists.sip-router.org 
[mailto:sr-users-boun...@lists.sip-router.org] En nombre de Klaus Darilion
Enviado el: miércoles, 11 de mayo de 2011 11:40
Para: sr-users@lists.sip-router.org
Asunto: Re: [SR-Users] core dump

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@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to