[SR-Users] Weird out-of-memory message on start/stop

Andreas Granig agranig at sipwise.com
Tue Feb 19 11:24:11 CET 2013


Hi,

Maybe some of you have encountered this funny error message when 
starting and even killing kamailio on a Debian 6 with 2.6.x and 3.x 
kernels and 2.11.3-4:

#-------------------------
# /usr/sbin/kamailio -f /etc/kamailio/proxy/kamailio.cfg -P 
/var/run/kamailio/kamailio.proxy.pid -m 4 -M 16 -u kamailio -g kamailio
loading modules under /usr/lib/kamailio/modules_k:/usr/lib/kamailio/modules
Listening on
              udp: 127.0.0.1:5062
              tcp: 127.0.0.1:5062
Aliases:


Message from syslogd at sp2 at Feb 19 11:15:42 ...
  t of memory [6720]

# killall kamailio

Message from syslogd at sp2 at Feb 19 11:17:51 ...
  t of memory [6720]

#-------------------------

The PID reported here is the kamailio attendant process. It seems to be 
somehow related to the shared memory. The interesting part about that is 
that kamailio really starts just fine, and there is plenty (>5GB) of 
free memory available. It doesn't seem to influence the behaviour of 
kamailio at all as it's working perfectly fine, so for now it's just 
annoying, but I'm really curious

I've tried to fiddle with mem_join, but it doesn't matter whether it's 
on or off.

Kamailio version is this:

# kamailio -V
version: kamailio 3.3.2 (x86_64/linux)
flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS, 
DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, 
F_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: unknown
compiled on 19:09:17 Jan 21 2013 with gcc 4.4.5

Has anyone seen this too? What's the cause of that?

Andreas



More information about the sr-users mailing list