[OpenSIPS-Users] SHM Memory issue

Vishal Pai vishalmpai at gmail.com
Thu Jan 24 20:17:08 EST 2019


Hello everyone

I am using opensips version

version: opensips 2.4.3 (x86_64/linux)
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC,
FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll, sigio_rt, select.
git revision: c49ae1d53


I am getting when there is increase the number of calls

Jan 24 19:51:20 ns101756 /usr/local/sbin/opensips[1431]:
ERROR:core:fm_malloc: not enough free shm memory (59920 bytes left, need
432), please increase the "-m" command line parameter!
Jan 24 19:51:20 ns101756 /usr/local/sbin/opensips[1431]:
INFO:core:fm_malloc: attempting defragmentation...
Jan 24 19:51:20 ns101756 /usr/local/sbin/opensips[1423]:
WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled for
30849800 ms (now 31196060 ms), it may overlap..
Jan 24 19:51:20 ns101756 /usr/local/sbin/opensips[1431]:
INFO:core:fm_malloc: unable to alloc a big enough fragment!
Jan 24 19:51:20 ns101756 /usr/local/sbin/opensips[1431]:
ERROR:tm:build_local: no more share memory
Jan 24 19:51:20 ns101756 /usr/local/sbin/opensips[1431]:
ERROR:tm:cancel_branch: attempt to build a CANCEL failed

Think it's memory issue. What is the best way to fix it up.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190125/7384fbb9/attachment.html>


More information about the Users mailing list