[SR-Users] Random Proxy Crash, Restarted OK Anything Here For Concern?

JR Richardson jmr.richardson at gmail.com
Fri Jul 7 18:34:07 CEST 2017


Hi All,

I have a basic proxy up and running for over 6 months without issue,
had a random crash, not sure why. Restarted kamailio process and it's
working as expected. Any clue is the log to indicate what might have
happened?

----snip----
Jul  5 16:31:46 sip-router3-ve206 /usr/local/sbin/kamailio[13416]: :
<core> [mem/q_malloc.c:468]: qm_free(): BUG: qm_free: freeing already
freed pointer (0x7fa1e1ebd658), called from <core>: mem/shm_mem.c:
sh_realloc(88), first free <core>: mem/shm_mem.c: sh_realloc(88) -
aborting
Jul  5 16:31:46 sip-router3-ve206 /usr/local/sbin/kamailio[13415]:
ALERT: <core> [main.c:775]: handle_sigs(): child process 13416 exited
by a signal 6
Jul  5 16:31:46 sip-router3-ve206 /usr/local/sbin/kamailio[13415]:
ALERT: <core> [main.c:778]: handle_sigs(): core was not generated
Jul  5 16:31:46 sip-router3-ve206 /usr/local/sbin/kamailio[13415]:
INFO: <core> [main.c:790]: handle_sigs(): INFO: terminating due to
SIGCHLD
Jul  5 16:31:46 sip-router3-ve206 /usr/local/sbin/kamailio[13423]:
INFO: <core> [main.c:841]: sig_usr(): INFO: signal 15 received
Jul  5 16:31:46 sip-router3-ve206 /usr/local/sbin/kamailio[13420]:
INFO: <core> [main.c:841]: sig_usr(): INFO: signal 15 received
Jul  5 16:31:46 sip-router3-ve206 /usr/local/sbin/kamailio[13424]:
INFO: <core> [main.c:841]: sig_usr(): INFO: signal 15 received
Jul  5 16:31:46 sip-router3-ve206 /usr/local/sbin/kamailio[13419]:
INFO: <core> [main.c:841]: sig_usr(): INFO: signal 15 received
Jul  5 16:31:46 sip-router3-ve206 /usr/local/sbin/kamailio[13421]:
INFO: <core> [main.c:841]: sig_usr(): INFO: signal 15 received
Jul  5 16:31:46 sip-router3-ve206 /usr/local/sbin/kamailio[13422]:
INFO: <core> [main.c:841]: sig_usr(): INFO: signal 15 received
Jul  5 16:31:46 sip-router3-ve206 /usr/local/sbin/kamailio[13418]:
INFO: <core> [main.c:841]: sig_usr(): INFO: signal 15 received
Jul  5 16:31:46 sip-router3-ve206 /usr/local/sbin/kamailio[13417]:
INFO: <core> [main.c:841]: sig_usr(): INFO: signal 15 received
Jul  5 16:31:46 sip-router3-ve206 /usr/local/sbin/kamailio[13415]:
ERROR: ctl [ctl.c:379]: mod_destroy(): ERROR: ctl: could not delete
unix socket /tmp/kamailio_ctl: Operation not permitted (1)
----snip----

RTPProxy also running on the server was not affected.

root at sip-router3-ve206:/var/log# kamailio -V
version: kamailio 4.1.0 (x86_64/linux) 350d2e
flags: STATS: Off, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS,
DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC,
DBG_QM_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE,
USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 4MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: 350d2e
compiled on 16:41:38 Dec 17 2013 with gcc 4.4.5

Yes, I know it's an older version but I prefer not to upgrade unless
absolutely necessary. I'm sure this was a random event, not too
concerned but since it is a production server, I'm obligated to
investigate.

Thanks.

JR
-- 
JR Richardson
Engineering for the Masses
Chasing the Azeotrope



More information about the sr-users mailing list