Hello,

I see you have statsd module, but that is not part of the 4.2.x series. Have you backport that?

Can you reproduce it? Or it happened once?

Also, the error logs after crash are not that relevant, can you see what log messages were printed by PID 21149 before the crash?

Cheers,
Daniel

On 15/05/15 21:55, Federico San Martín wrote:
Hi all, I just experienced a sudden crash from one of my Kamailio servers. I'm using v4.2.4 built from git repository (branch remotes/origin/4.2). The error logs show this at the time of the crash (I'm using debug=1 on config file)

May 15 15:59:53 KAMAILIO-ERS1 kamailio[21162]: CRITICAL: <core> [pass_fd.c:293]: receive_fd(): EOF on 19
May 15 15:59:53 KAMAILIO-ERS1 kamailio[21141]: ALERT: <core> [main.c:784]: handle_sigs(): child process 21149 exited by a signal 11
May 15 15:59:53 KAMAILIO-ERS1 kamailio[21141]: ALERT: <core> [main.c:787]: handle_sigs(): core was not generated


May 15 15:59:53 KAMAILIO-ERS1 kernel: [2156637.186585] kamailio[21149]: segfault at 20b6 ip 00000000000020b6 sp 00007ffeb0c2bc88 error 14 in kamailio[400000+3c3000]
May 15 15:59:53 KAMAILIO-ERS1 kernel: [2156637.214933] kamailio[21141]: segfault at 2290 ip 0000000000002290 sp 00007ffeb0c2c4d8 error 14 in kamailio[400000+3c3000]


The modules I'm using are:


loadmodule "mi_fifo.so"
loadmodule "db_mysql.so"
loadmodule "sqlops.so"
loadmodule "tm.so"
loadmodule "sl.so"
loadmodule "pv.so"
loadmodule "xlog.so"
loadmodule "maxfwd.so"
loadmodule "siputils.so"
loadmodule "sanity.so"
loadmodule "textops.so"
loadmodule "rr.so"
loadmodule "statsd.so"


Have you noticed this error before? This server has a very simple config, for every invite received, it queries a MySQL database to replace the called number from 3 digits to 8-10 digits (for example 135 is translated to 1152751135) and sends back a 300 Redirect with the new number. 


Another thing to notice is that this server was working at 3-4% CPU load and when the issue happen it spiked to 53%...


Let me know I can provide any other info that could be useful.


Thanks!


Federico


Federico San Martín
Ingeniería de Telefonía
TeleCentro S.A.
Cnel. Apolinario Figueroa 254 Piso 4to

CABA - C1414EDF

Fijo : +54 11 3977 1045

Móvil : +54 9 11 5824 3240

e-mail : fsanmartin@telecentro.net.ar




_______________________________________________
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

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com