[OpenSIPS-Users] SHM Memory issue

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Feb 4 03:57:18 EST 2019


Hi Vishal,

It looks like you are running out of shm/shared memory. You can check 
its internal usage by:
     opensipsctl fifo get_statistics shemem:

What to do? Add more memory for OpenSIPS to use - see the '-m' startup 
parameter.

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS Summit 2019
   https://www.opensips.org/events/Summit-2019Amsterdam/

On 01/25/2019 03:17 AM, Vishal Pai wrote:
> 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.
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190204/1ca71107/attachment.html>


More information about the Users mailing list