[SR-Users] kamailio with evapi crashing on high volume

Daniel-Constantin Mierla miconda at gmail.com
Wed Sep 5 11:43:13 CEST 2018


Hello,

the backtrace doesn't show any hint about kamailio, only from closelog() up.

It may be the core generated by shutdown procedure, have you enabled one
core file per pid/process? If not, do it and reproduce the issue again,
you may get two core files, one being the runtime issue and the other
one from shutdown procedure, which likely is an effect of the other one.
The one from the runtime is more relevant.

Cheers,
Daniel


On 05.09.18 10:09, Jayesh Nambiar wrote:
> Hello,
> I'm using kamailio 5.1.5 with evapi. I have a node.js connecting with
> kamailio evapi to which I send events and also consume events based on
> which I do the routing. I have 8 evapi workers defined in the config. 
> The problem is that kamailio randomly crashes on high load. I'm
> assuming that it is related to the evapi module as rest of the config
> is pretty straight forward. I could get a core file and here's the
> core dump:
> [New LWP 14042]
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library “/lib/x86_64-linux-gnu/libthread_db.so.1”.
> Core was generated by `/usr/local/kamailio/sbin/kamailio -P
> /var/run/siptrunk.pid -f /usr/local/carrie’.
> Program terminated with signal SIGABRT, Aborted.
> #0  0x00007f9995283428 in __GI_raise (sig=sig at entry=6) at
> ../sysdeps/unix/sysv/linux/raise.c:54
> 54    ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
> (gdb) bt
> #0  0x00007f9995283428 in __GI_raise (sig=sig at entry=6) at
> ../sysdeps/unix/sysv/linux/raise.c:54
> #1  0x00007f999528502a in __GI_abort () at abort.c:89
> #2  0x000000000041a029 in sig_alarm_abort (signo=14) at main.c:646
> #3  <signal handler called>
> #4  0x00007f999534f497 in __libc_cleanup_routine (f=<optimized out>)
> at ../sysdeps/nptl/libc-lockP.h:291
> #5  closelog () at ../misc/syslog.c:415
> #6  0x0000000000000000 in ?? ()
>
> Any help in this regards is would allow me to identify the reason of
> the crash. Thanks for the support.
>
> - Jayesh
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference -- www.kamailioworld.com
Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- www.asipto.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180905/19dbf070/attachment.html>


More information about the sr-users mailing list