Hi All,
As part of our very low cps load at 50 calls per second through Kamailio Version 5.3.2 (Dispatcher Module used with Call Load based Routing - Algorithm 10. Machine is a Centos: 7.7 with kernel version 3.10), we are seeing the kamailio continuously crashing. Please see the data below for 3 types of segfaults seen:
Crash-1: -------- Apr 3 19:32:25 FE-A07-34-VM6 kernel: kamailio[10382]: segfault at 7ff300000078 ip 00007ff300000078 sp 00007ffe5f2eafc8 error 14 in libbz2.so.1.0.6[7ff331582000+f000] Apr 3 19:32:25 FE-A07-34-VM6 mysqld: 2020-04-03 19:32:25 6131 [Warning] Aborted connection 6131 to db: 'kamailio' user: 'kamailio' host: 'localhost' (Got an error reading communication packets) Apr 3 19:32:25 FE-A07-34-VM6 /usr/sbin/kamailio[10423]: CRITICAL: <core> [core/pass_fd.c:277]: receive_fd(): EOF on 13 Apr 3 19:32:25 FE-A07-34-VM6 /usr/sbin/kamailio[10381]: ALERT: <core> [main.c:767]: handle_sigs(): child process 10382 exited by a signal 11 Apr 3 19:32:25 FE-A07-34-VM6 /usr/sbin/kamailio[10381]: ALERT: <core> [main.c:770]: handle_sigs(): core was not generated =============================== Crash-2: ------- Apr 3 19:36:11 FE-A07-34-VM6 kernel: kamailio[12838]: segfault at 7efe00000078 ip 00007efe00000078 sp 00007ffdc876b868 error 15 in zero (deleted)[7efdc407f000+40000000] Apr 3 19:36:11 FE-A07-34-VM6 mysqld: 2020-04-03 19:36:11 6175 [Warning] Aborted connection 6175 to db: 'kamailio' user: 'kamailio' host: 'localhost' (Got an error reading communication packets) Apr 3 19:36:11 FE-A07-34-VM6 /usr/sbin/kamailio[12874]: CRITICAL: <core> [core/pass_fd.c:277]: receive_fd(): EOF on 18 Apr 3 19:36:11 FE-A07-34-VM6 /usr/sbin/kamailio[12826]: ALERT: <core> [main.c:767]: handle_sigs(): child process 12838 exited by a signal 11 Apr 3 19:36:11 FE-A07-34-VM6 /usr/sbin/kamailio[12826]: ALERT: <core> [main.c:770]: handle_sigs(): core was not generated ============================ Crash-3: -------- Apr 3 19:40:53 FE-A07-34-VM6 kernel: kamailio[13542]: segfault at 80 ip 000000000065e193 sp 00007ffdae10c1f0 error 4 in kamailio[400000+476000] Apr 3 19:40:53 FE-A07-34-VM6 mysqld: 2020-04-03 19:40:53 6222 [Warning] Aborted connection 6222 to db: 'kamailio' user: 'kamailio' host: 'localhost' (Got an error reading communication packets) Apr 3 19:40:53 FE-A07-34-VM6 /usr/sbin/kamailio[13516]: ALERT: <core> [main.c:767]: handle_sigs(): child process 13542 exited by a signal 11 Apr 3 19:40:53 FE-A07-34-VM6 /usr/sbin/kamailio[13558]: CRITICAL: <core> [core/pass_fd.c:277]: receive_fd(): EOF on 38 Apr 3 19:40:53 FE-A07-34-VM6 /usr/sbin/kamailio[13516]: ALERT: <core> [main.c:770]: handle_sigs(): core was not generated
Any pointers for resolution are most welcome as we need to quickly resolve this.
Regards, Harneet Singh