<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Konrad,<br>
      <br>
      Thanks for the details, I found and fixed the issue (see
<a class="moz-txt-link-freetext" href="https://github.com/OpenSIPS/opensips/commit/88b0b885431f643733562d30dcc1d5d2a6d92902">https://github.com/OpenSIPS/opensips/commit/88b0b885431f643733562d30dcc1d5d2a6d92902</a>).<br>
      <br>
      Just update your tree and try it again.<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 04/23/2019 03:18 PM, Konrad Malewski
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAFRd793i=+Xr2++UQSoP91B83nc=6W_EPG9Ggqp9yC89yCacPw@mail.gmail.com">
      <div dir="ltr">
        <div dir="ltr">fm_malloc is first error:
          <div>
            <div>Apr 23 12:11:27 [50] <a class="moz-txt-link-freetext" href="INFO:core:mod_init">INFO:core:mod_init</a>: initializing
              UDP-plain protocol</div>
            <div>Apr 23 12:11:27 [50] <a class="moz-txt-link-freetext" href="INFO:dialog:mod_init">INFO:dialog:mod_init</a>: Dialog
              module - initializing</div>
            <div>Apr 23 12:11:27 [50] <a class="moz-txt-link-freetext" href="INFO:core:evi_publish_event">INFO:core:evi_publish_event</a>:
              Registered event <E_DLG_STATE_CHANGED(4)></div>
            <div>Apr 23 12:11:27 [50] <a class="moz-txt-link-freetext" href="INFO:topology_hiding:mod_init">INFO:topology_hiding:mod_init</a>:
              initializing...</div>
            <div>Apr 23 12:11:27 [50] <a class="moz-txt-link-freetext" href="INFO:rest_client:mod_init">INFO:rest_client:mod_init</a>: Module
              initialized!</div>
            <div>Apr 23 12:11:27 [50] NOTICE:signaling:mod_init:
              initializing module ...</div>
            <div>Apr 23 12:11:27 [50] ERROR:core:fm_malloc: not enough
              free shm memory (62949808 bytes left, need 2824938474944),
              please increase the "-m" command line parameter!</div>
            <div>Apr 23 12:11:27 [50] <a class="moz-txt-link-freetext" href="INFO:core:fm_malloc">INFO:core:fm_malloc</a>: attempting
              defragmentation...</div>
            <div>Apr 23 12:11:27 [50] <a class="moz-txt-link-freetext" href="INFO:core:fm_malloc">INFO:core:fm_malloc</a>: unable to
              alloc a big enough fragment!</div>
            <div>Apr 23 12:11:27 [50]
              ERROR:core:init_multi_proc_support: out of memory</div>
            <div>Apr 23 12:11:27 [50] ERROR:core:main: failed to init
              multi-proc support</div>
            <div>Apr 23 12:11:27 [50] <a class="moz-txt-link-freetext" href="INFO:core:cleanup">INFO:core:cleanup</a>: cleanup</div>
            <div>Apr 23 12:11:27 [50] NOTICE:event_datagram:destroy:
              destroy module ...</div>
            <div>Apr 23 12:11:27 [50] NOTICE:core:main: Exiting....</div>
          </div>
          <div><br>
          </div>
          <div>TCP alone is the problem</div>
          <div>TCP + UDP works fine</div>
          <div>UDP alone works fine</div>
          <div><br>
          </div>
          <div><br>
          </div>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Tue, Apr 23, 2019 at 12:49
          PM Bogdan-Andrei Iancu <<a
            href="mailto:bogdan@opensips.org" moz-do-not-send="true">bogdan@opensips.org</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div bgcolor="#FFFFFF"> <tt>Is there any following error /
              warning log ? Or you get only that single err line ??<br>
              <br>
              And you get that error by using TCP without UDP ? using
              TCP + UDP is fine ?<br>
              <br>
              Regards,<br>
            </tt>
            <pre class="gmail-m_-1212736226625655679moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="gmail-m_-1212736226625655679moz-txt-link-freetext" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__www.opensips-2Dsolutions.com&d=DwMDaQ&c=q3cDpHe1hF8lXU5EFjNM_A&r=Q2-P3NgorS0ZH4_aMeg5NL1og3Rsx6yNgM-aaPfa8xzzIkVlEcHJTs2jlyabbp9e&m=_bnCF3cXINafd9aW9lAOcWFgfAH52iW85NTp0KIOfT0&s=XKZhpHD685GLGMMHTjiSBH0ZGuo5TJxTty8a14LL6Gs&e=" target="_blank" moz-do-not-send="true">https://www.opensips-solutions.com</a>
OpenSIPS Summit 2019
  <a class="gmail-m_-1212736226625655679moz-txt-link-freetext" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__www.opensips.org_events_Summit-2D2019Amsterdam_&d=DwMDaQ&c=q3cDpHe1hF8lXU5EFjNM_A&r=Q2-P3NgorS0ZH4_aMeg5NL1og3Rsx6yNgM-aaPfa8xzzIkVlEcHJTs2jlyabbp9e&m=_bnCF3cXINafd9aW9lAOcWFgfAH52iW85NTp0KIOfT0&s=_xIKaXTeDJ4umSkuenOzE3L96WICDmUstpWFDDB2H5U&e=" target="_blank" moz-do-not-send="true">https://www.opensips.org/events/Summit-2019Amsterdam/</a>
</pre>
            <div class="gmail-m_-1212736226625655679moz-cite-prefix">On
              04/23/2019 01:08 PM, Konrad Malewski wrote:<br>
            </div>
            <blockquote type="cite">
              <div dir="ltr">
                <div dir="ltr">
                  <div dir="ltr">I checked just now. 
                    <div>It sufficient to comment out UDP listening port
                      and leave just TCP</div>
                    <div>
                      <div><br>
                      </div>
                      <div>///////////</div>
                      <div>
                        <div>#listen=udp:<a
href="https://urldefense.proofpoint.com/v2/url?u=http-3A__172.17.0.2-3A5060&d=DwMDaQ&c=q3cDpHe1hF8lXU5EFjNM_A&r=Q2-P3NgorS0ZH4_aMeg5NL1og3Rsx6yNgM-aaPfa8xzzIkVlEcHJTs2jlyabbp9e&m=_bnCF3cXINafd9aW9lAOcWFgfAH52iW85NTp0KIOfT0&s=FVZCOP9baSEN4VjWUe833t3Zyie_i6cWX7VgmEOWT_k&e="
                            target="_blank" moz-do-not-send="true">172.17.0.2:5060</a> 
                           # CUSTOMIZE ME</div>
                        <div>listen=tcp:<a
href="https://urldefense.proofpoint.com/v2/url?u=http-3A__172.17.0.2-3A5060&d=DwMDaQ&c=q3cDpHe1hF8lXU5EFjNM_A&r=Q2-P3NgorS0ZH4_aMeg5NL1og3Rsx6yNgM-aaPfa8xzzIkVlEcHJTs2jlyabbp9e&m=_bnCF3cXINafd9aW9lAOcWFgfAH52iW85NTp0KIOfT0&s=FVZCOP9baSEN4VjWUe833t3Zyie_i6cWX7VgmEOWT_k&e="
                            target="_blank" moz-do-not-send="true">172.17.0.2:5060</a> 
                           # CUSTOMIZE ME</div>
                        <div>///////////<br>
                        </div>
                      </div>
                      <div><br>
                      </div>
                      <div>ERROR:core:fm_malloc: not enough free shm
                        memory (63093216 bytes left, need
                        8843713106240), please increase the "-m" command
                        line parameter!<br>
                      </div>
                    </div>
                    <div><br>
                    </div>
                  </div>
                </div>
              </div>
              <br>
              <div class="gmail_quote">
                <div dir="ltr" class="gmail_attr">On Tue, Apr 23, 2019
                  at 9:00 AM Bogdan-Andrei Iancu <<a
                    href="mailto:bogdan@opensips.org" target="_blank"
                    moz-do-not-send="true">bogdan@opensips.org</a>>
                  wrote:<br>
                </div>
                <blockquote class="gmail_quote" style="margin:0px 0px
                  0px 0.8ex;border-left:1px solid
                  rgb(204,204,204);padding-left:1ex">
                  <div bgcolor="#FFFFFF"> <tt>Hi Konrad,<br>
                      <br>
                      For sure there was something wrong - could you
                      give it a another try with latest 3.0 beta ?<br>
                      <br>
                      Regards,<br>
                    </tt>
                    <pre class="gmail-m_-1212736226625655679gmail-m_1977693441798349753moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="gmail-m_-1212736226625655679gmail-m_1977693441798349753moz-txt-link-freetext" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__www.opensips-2Dsolutions.com&d=DwMDaQ&c=q3cDpHe1hF8lXU5EFjNM_A&r=Q2-P3NgorS0ZH4_aMeg5NL1og3Rsx6yNgM-aaPfa8xzzIkVlEcHJTs2jlyabbp9e&m=j0LqP8JXCUhyWZJz9QYkuiQ6yY7HWS3ozNR18T-FC2o&s=xWCGHrJVYpMR16Pm1dXvRy317O8Qia-1uLZI3zWSkHs&e=" target="_blank" moz-do-not-send="true">https://www.opensips-solutions.com</a>
OpenSIPS Summit 2019
  <a class="gmail-m_-1212736226625655679gmail-m_1977693441798349753moz-txt-link-freetext" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__www.opensips.org_events_Summit-2D2019Amsterdam_&d=DwMDaQ&c=q3cDpHe1hF8lXU5EFjNM_A&r=Q2-P3NgorS0ZH4_aMeg5NL1og3Rsx6yNgM-aaPfa8xzzIkVlEcHJTs2jlyabbp9e&m=j0LqP8JXCUhyWZJz9QYkuiQ6yY7HWS3ozNR18T-FC2o&s=S1JpCMZ0JNXjz9g8AUgBs8lUV76bDYTGPI5ohs7IrSM&e=" target="_blank" moz-do-not-send="true">https://www.opensips.org/events/Summit-2019Amsterdam/</a>
</pre>
                    <div
class="gmail-m_-1212736226625655679gmail-m_1977693441798349753moz-cite-prefix">On
                      04/08/2019 12:38 PM, Konrad Malewski wrote:<br>
                    </div>
                    <blockquote type="cite">
                      <div dir="ltr">
                        <div dir="ltr">
                          <div dir="ltr">
                            <div>Hello,</div>
                            <div><br>
                            </div>
                            <div>If I enabled TCP only as only protocol,
                              opensips3 starts crashing at startup with
                              following error:</div>
                            <div><br>
                            </div>
                            <div>ERROR:core:fm_malloc: not enough free
                              shm memory (62949296 bytes left, need
                              17109592486272), please increase the "-m"
                              command line parameter!</div>
                            <div><br>
                            </div>
                            <div>The amount of "need" is different every
                              time I restart opensips</div>
                            <div><br>
                            </div>
                            <div>
                              <div>ERROR:core:fm_malloc: not enough free
                                shm memory (62949296 bytes left, need
                                8689571889280), please increase the "-m"
                                command line parameter!</div>
                            </div>
                            <div><br>
                            </div>
                            <div>when I enable udp and add appropriate
                              listen=udp:IP:PORT entry problem goes
                              away. </div>
                            <div><br>
                            </div>
                            <div>The issue is odd, so what am I doing
                              wrong? Maybe this is a bug ? </div>
                            <div><br>
                            </div>
                            -- <br>
                            <div dir="ltr"
class="gmail-m_-1212736226625655679gmail-m_1977693441798349753gmail_signature">
                              <div dir="ltr">
                                <div>-- <br>
                                </div>
                                Konrad Malewski<br>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                      <br>
                      <fieldset
class="gmail-m_-1212736226625655679gmail-m_1977693441798349753mimeAttachmentHeader"></fieldset>
                      <br>
                      <pre>_______________________________________________
Users mailing list
<a class="gmail-m_-1212736226625655679gmail-m_1977693441798349753moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank" moz-do-not-send="true">Users@lists.opensips.org</a>
<a class="gmail-m_-1212736226625655679gmail-m_1977693441798349753moz-txt-link-freetext" href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.opensips.org_cgi-2Dbin_mailman_listinfo_users&d=DwMDaQ&c=q3cDpHe1hF8lXU5EFjNM_A&r=Q2-P3NgorS0ZH4_aMeg5NL1og3Rsx6yNgM-aaPfa8xzzIkVlEcHJTs2jlyabbp9e&m=j0LqP8JXCUhyWZJz9QYkuiQ6yY7HWS3ozNR18T-FC2o&s=3-PY2shO5Q9SB6W7HquVvtqxXkTdsl4Hwt_33Nkkmg8&e=" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
                    </blockquote>
                    <br>
                  </div>
                </blockquote>
              </div>
              <br clear="all">
              <div><br>
              </div>
              -- <br>
              <div dir="ltr"
                class="gmail-m_-1212736226625655679gmail_signature">
                <div dir="ltr">
                  <div>-- <br>
                  </div>
                  Konrad Malewski<br>
                </div>
              </div>
              <br>
              <fieldset
                class="gmail-m_-1212736226625655679mimeAttachmentHeader"></fieldset>
              <br>
              <pre>_______________________________________________
Users mailing list
<a class="gmail-m_-1212736226625655679moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank" moz-do-not-send="true">Users@lists.opensips.org</a>
<a class="gmail-m_-1212736226625655679moz-txt-link-freetext" href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.opensips.org_cgi-2Dbin_mailman_listinfo_users&d=DwMDaQ&c=q3cDpHe1hF8lXU5EFjNM_A&r=Q2-P3NgorS0ZH4_aMeg5NL1og3Rsx6yNgM-aaPfa8xzzIkVlEcHJTs2jlyabbp9e&m=_bnCF3cXINafd9aW9lAOcWFgfAH52iW85NTp0KIOfT0&s=ak_5CMPGmRNVJw1qZ-muZq1BD5mFjf5YDRJApryx_I0&e=" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
            </blockquote>
            <br>
          </div>
        </blockquote>
      </div>
      <br clear="all">
      <div><br>
      </div>
      -- <br>
      <div dir="ltr" class="gmail_signature">
        <div dir="ltr">
          <div>-- <br>
          </div>
          Konrad Malewski<br>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>