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@sp2 at Feb 19 11:15:42 ... t of memory [6720]
# killall kamailio
Message from syslogd@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
Hi,
On 02/19/2013 11:26 AM, Andreas Granig wrote:
On 02/19/2013 11:24 AM, Andreas Granig wrote:
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:
2.11.3-4 is the libc version, btw.
Oh. Setting "ulimit -l unlimited" does the trick.
Andreas
My curiosity now, what means the syslog message:
... t of memory [6720]
I guess the last is pid. Is it like just last part of "OUt of memory"? Never had this message so far, iirc.
Cheers, Daniel
On 2/19/13 11:58 AM, Andreas Granig wrote:
Hi,
On 02/19/2013 11:26 AM, Andreas Granig wrote:
On 02/19/2013 11:24 AM, Andreas Granig wrote:
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:
2.11.3-4 is the libc version, btw.
Oh. Setting "ulimit -l unlimited" does the trick.
Andreas
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
Hello,
When I used msg_apply_changes(); in route[RELAY] included in request_route,
Received "ERROR: textopsx [textopsx.c:116]: invalid usage - not in request route."
Why?
Thanks, Julia.
Hi Daniel,
On 02/21/2013 09:38 AM, Daniel-Constantin Mierla wrote:
My curiosity now, what means the syslog message:
... t of memory [6720]
I guess the last is pid. Is it like just last part of "OUt of memory"? Never had this message so far, iirc.
What I found through debugging is that this message should actually mean "out of memory", and it's yielded by libc, I guess during mmap and/or locking the memory (not exactly sure what kamailio does in that regards).
Andreas
Try to look at https://bugzilla.redhat.com/show_bug.cgi?id=803827 and http://forums.cpanel.net/f34/named-wont-start-284821.html#post1191151
2013/2/21 Andreas Granig agranig@sipwise.com
Hi Daniel,
On 02/21/2013 09:38 AM, Daniel-Constantin Mierla wrote:
My curiosity now, what means the syslog message:
... t of memory [6720]
I guess the last is pid. Is it like just last part of "OUt of memory"? Never had this message so far, iirc.
What I found through debugging is that this message should actually mean "out of memory", and it's yielded by libc, I guess during mmap and/or locking the memory (not exactly sure what kamailio does in that regards).
Andreas
______________________________**_________________ 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-**usershttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Hi,
On 02/21/2013 07:50 PM, Konstantin M. wrote:
Try to look at https://bugzilla.redhat.com/show_bug.cgi?id=803827 and http://forums.cpanel.net/f34/named-wont-start-284821.html#post1191151
As noted above, I've found the issue already, which was caused by setting the lock-mem ulimit (the -l switch) too low.
Andreas