<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Vishal,<br>
      <br>
      It looks like you are running out of shm/shared memory. You can
      check its internal usage by:<br>
          opensipsctl fifo get_statistics shemem:<br>
      <br>
      What to do? Add more memory for OpenSIPS to use - see the '-m' startup
      parameter.<br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS Summit 2019
  <a class="moz-txt-link-freetext" href="https://www.opensips.org/events/Summit-2019Amsterdam/">https://www.opensips.org/events/Summit-2019Amsterdam/</a>
</pre>
    <div class="moz-cite-prefix">On 01/25/2019 03:17 AM, Vishal Pai
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CACOmXtCDd1JOOXD-wpqrTZSW6_nrxgMEwW1x9VAc3kMPrZ-T2A@mail.gmail.com">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div>Hello everyone</div>
            <div><br>
            </div>
            <div>I am using opensips version <br>
            </div>
            <div><br>
            </div>
            <div>version: opensips 2.4.3 (x86_64/linux)<br>
              flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP,
              PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT<br>
              ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144,
              MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535<br>
              poll method support: poll, epoll, sigio_rt, select.<br>
              git revision: c49ae1d53<br>
            </div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>I am getting when there is increase the number of calls</div>
            <div><br>
            </div>
            <div>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!<br>
              Jan 24 19:51:20 ns101756 /usr/local/sbin/opensips[1431]:
              <a class="moz-txt-link-freetext" href="INFO:core:fm_malloc">INFO:core:fm_malloc</a>: attempting defragmentation...<br>
              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..<br>
              Jan 24 19:51:20 ns101756 /usr/local/sbin/opensips[1431]:
              <a class="moz-txt-link-freetext" href="INFO:core:fm_malloc">INFO:core:fm_malloc</a>: unable to alloc a big enough
              fragment!<br>
              Jan 24 19:51:20 ns101756 /usr/local/sbin/opensips[1431]:
              ERROR:tm:build_local: no more share memory<br>
              Jan 24 19:51:20 ns101756 /usr/local/sbin/opensips[1431]:
              ERROR:tm:cancel_branch: attempt to build a CANCEL failed</div>
            <div><br>
            </div>
            <div>Think it's memory issue. What is the best way to fix it
              up.<br>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>