<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <tt>Hi, Sammy!<br>
      <br>
      It is clear from the logs you have sent that it is running out of
      memory - how much shared memory are you using?<br>
      When disabling the TCP, what error is it triggering?<br>
      <br>
      Best regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Developer
<a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 11/29/2017 06:58 PM, SamyGo wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAJUJwtitjeQ5osPLjn3xLH9wTtafxLUwU3UnqXJQ8U9UPYGYMA@mail.gmail.com">
      <div dir="ltr"><span style="font-size:12.8px">Hi,</span>
        <div style="font-size:12.8px">I just installed the head version
          from git.</div>
        <div style="font-size:12.8px"><br>
        </div>
        <div style="font-size:12.8px">
          <div><font face="monospace, monospace">version: opensips
              2.4.0-dev (x86_64/linux)</font></div>
          <div><font face="monospace, monospace">flags: STATS: On,
              SHM_EXTRA_STATS, EXTRA_DEBUG, DISABLE_NAGLE, USE_MCAST,
              SHM_MMAP, PKG_MALLOC, QM_MALLOC, DBG_MALLOC,
              FAST_LOCK-ADAPTIVE_WAIT</font></div>
          <div><font face="monospace, monospace">ADAPTIVE_WAIT_LOOPS=1024,
              MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE
              1024, BUF_SIZE 65535</font></div>
          <div><font face="monospace, monospace">poll method support:
              poll, epoll_lt, epoll_et, sigio_rt, select.</font></div>
          <div><font face="monospace, monospace">git revision: d1a4419</font></div>
          <div><font face="monospace, monospace">main.c compiled on
              19:53:20 Nov 28 2017 with gcc 4.8</font></div>
        </div>
        <div style="font-size:12.8px"><br>
        </div>
        <div style="font-size:12.8px">It was compiled with EXTRA_DEBUG
          and DBG_TCPCON flags;</div>
        <div style="font-size:12.8px">While starting opensips with the
          residential vanilla script it gives following error:</div>
        <div style="font-size:12.8px"><font face="monospace, monospace"><br>
          </font></div>
        <div style="font-size:12.8px">
          <div><font face="monospace, monospace">Nov 28 20:05:52
              [30899] <span style="background-color:rgb(255,229,153)">ERROR:core:tcp_init:
                oom con hist</span></font></div>
          <div><font face="monospace, monospace">Nov 28 20:05:52
              [30899] <span style="background-color:rgb(255,229,153)">CRITICAL:core:main:
                could not initialize tcp</span></font></div>
          <div><font face="monospace, monospace">Nov 28 20:05:52 [30899]
              <a class="moz-txt-link-freetext" href="INFO:core:cleanup">INFO:core:cleanup</a>: cleanup</font></div>
          <div><font face="monospace, monospace">Nov 28 20:05:52 [30899]
              DBG:core:shm_mem_destroy: destroying the shared memory
              lock</font></div>
          <div><font face="monospace, monospace">Nov 28 20:05:52 [30899]
              NOTICE:core:main: Exiting....</font></div>
          <div><font face="monospace, monospace"> already running       
                                                                       
                       </font></div>
        </div>
        <div style="font-size:12.8px"><font face="monospace, monospace"><br>
          </font></div>
        <span style="font-size:12.8px">Even if I remove the proto_tcp,
          and tcp related things from config file this still gives error
          and doesn't start.</span>
        <div style="font-size:12.8px"><br>
        </div>
        <div style="font-size:12.8px">However, if I remove the compile
          flags then it works fine. Any reason why?</div>
        <div style="font-size:12.8px"><br>
        </div>
        <div style="font-size:12.8px">Regards,</div>
        <div style="font-size:12.8px">Sammy</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Devel@lists.opensips.org">Devel@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/devel">http://lists.opensips.org/cgi-bin/mailman/listinfo/devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>