Fetch kamailio code:
git clone --depth 1 --no-single-branch git://git.sip-router.org/kamailio kamailio
cd kamailio
git checkout -b 4.2 origin/4.2
Add the module:
git submodule add https://github.com/eloycoto/statsd modules/statsd
git submodule update
Compile the module:
make include_modules="statsd" cfg
make
I can't reproduce it, it happened only once last Friday and I've monitored the system over the weekend and didn't happen again... I checked the logs (/var/log/messages and /var/log/kamailio.log) and I don't see any other messages for PID 21149. What I did is enable the CORE Dump after the issue so that now if it happens again I can have it.
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íaTeleCentro S.A.Cnel. Apolinario Figueroa 254 Piso 4toCABA - 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