<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>this got out of my sight ...</p>
    <p>Can you try with -m 256 and also mem_join=1 as global parameter
      in kamailio.cfg?</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 17.10.18 19:15, Diego Nadares wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAP-r+eprZG2qyRAsT9d+7=KVWxk_-FhSpe7gh_XVddcG1=Zpig@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <div>
        <div dir="auto">Hi guys,</div>
      </div>
      <div dir="auto"><br>
      </div>
      <div dir="auto">Any hint?</div>
      <div dir="auto"><br>
      </div>
      <div dir="auto">Thanks again. </div>
      <div dir="auto"><br>
      </div>
      <div dir="auto">Diego. </div>
      <div><br>
        <div class="gmail_quote">
          <div dir="ltr">El El mar, 9 oct. 2018 a las 09:03, Diego
            Nadares <<a href="mailto:dnadares@gmail.com"
              moz-do-not-send="true">dnadares@gmail.com</a>>
            escribió:<br>
          </div>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div><br>
            </div>
            <div><br>
              <div class="gmail_quote">
                <div dir="ltr">---------- Mensaje reenviado ---------<br>
                  De: <strong class="gmail_sendername" dir="auto">Diego
                    Nadares</strong> <span dir="ltr"><<a
                      href="mailto:dnadares@gmail.com" target="_blank"
                      moz-do-not-send="true">dnadares@gmail.com</a>></span><br>
                  Fecha: El vie, 5 oct. 2018 a las 15:46<br>
                  Asunto: Re: [SR-Users] tcp Free fragment not found<br>
                  Para: Daniel-Constantin Mierla <<a
                    href="mailto:miconda@gmail.com" target="_blank"
                    moz-do-not-send="true">miconda@gmail.com</a>><br>
                </div>
              </div>
            </div>
            <div>
              <div class="gmail_quote"><br>
                <br>
                <div dir="ltr">
                  <div dir="ltr">Hi Daniel,
                    <div><br>
                    </div>
                    <div>Sorry for the delay. <br>
                      <br>
                      -M 32 -m 128</div>
                    <div><br>
                    </div>
                    <div>Should I increase any/both of these params?</div>
                    <div><br>
                    </div>
                    <div>Thanks again!</div>
                  </div>
                </div>
                <div dir="ltr">
                  <div dir="ltr">
                    <div><br>
                    </div>
                    <div>Diego<br>
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                    </div>
                  </div>
                </div>
                <br>
                <div class="gmail_quote">
                  <div dir="ltr">El jue., 4 oct. 2018 a las 3:31,
                    Daniel-Constantin Mierla (<<a
                      href="mailto:miconda@gmail.com" target="_blank"
                      moz-do-not-send="true">miconda@gmail.com</a>>)
                    escribió:<br>
                  </div>
                  <blockquote class="gmail_quote" style="margin:0 0 0
                    .8ex;border-left:1px #ccc solid;padding-left:1ex">
                    <div text="#000000" bgcolor="#FFFFFF">
                      <p>Hello,</p>
                      <p>what are the values for -m and -M command line
                        parameters?</p>
                      <p>Cheers,<br>
                        Daniel<br>
                      </p>
                      <br>
                      <div
class="m_-2857873773530698612m_-5901989749723021307m_-8124818534384319281moz-cite-prefix">On
                        03.10.18 16:37, Diego Nadares wrote:<br>
                      </div>
                      <blockquote type="cite">
                        <div dir="ltr">
                          <div dir="ltr">
                            <div dir="ltr">Hi guys! I hope you are doing
                              well.
                              <div><br>
                              </div>
                              <div>Any hint on this? I changed to json
                                but sometimes i get the same error. </div>
                              <div><br>
                              </div>
                              <div>
                                <div>2018-10-03T10:12:11.066539-03:00
                                  drwsip11
                                  /usr/local/sbin/kamailio[28173]:
                                  ERROR: <core>
                                  [mem/f_malloc.c:415]:
                                  fm_search_defrag(): fm_search_defrag(0</div>
                                <div>x7f575c4ad000, 5352056); Free
                                  fragment not found!</div>
                                <div>2018-10-03T10:12:11.067552-03:00
                                  drwsip11
                                  /usr/local/sbin/kamailio[28173]:
                                  ERROR: <core>
                                  [mem/f_malloc.c:498]: fm_malloc():
                                  fm_malloc(0x7f575c4ad000,</div>
                                <div> 5352056) called from core:
                                  tcp_main.c: _wbufq_add(636), module:
                                  core; Free fragment not found!</div>
                                <div>2018-10-03T10:12:11.068128-03:00
                                  drwsip11
                                  /usr/local/sbin/kamailio[28182]:
                                  ERROR: <core> [tcp_main.c:3496]:
                                  handle_ser_child(): received CON_ERROR
                                  for 0x7f575f6a6918 (id 12638), refcnt
                                  3, flags 0x4018</div>
                                <div>2018-10-03T10:12:11.068397-03:00
                                  drwsip11
                                  /usr/local/sbin/kamailio[28173]:
                                  ERROR: sl [../../forward.h:220]:
                                  msg_send_buffer(): tcp_send failed</div>
                                <div>2018-10-03T10:12:11.068929-03:00
                                  drwsip11
                                  /usr/local/sbin/kamailio[28173]:
                                  ERROR: xmlrpc [xmlrpc.c:795]:
                                  send_reply(): Error while sending
                                  reply</div>
                                <div>2018-10-03T10:12:11.092080-03:00
                                  drwsip11
                                  /usr/local/sbin/kamailio[28173]:
                                  WARNING: <core>
                                  [tcp_read.c:1666]: handle_io():
                                  F_TCPCONN connection marked as bad:
                                  0x7f575f6a6918 id 12638 refcnt 1</div>
                              </div>
                              <div><br>
                              </div>
                              <div>Is there any stat to see? Or any
                                additional configuration to make?</div>
                              <div><br>
                              </div>
                              <div>Here is my tcp related config</div>
                              <div><br>
                              </div>
                              <div>
                                <div>tcp_connection_lifetime=3605</div>
                                <div>tcp_conn_wq_max=30000000</div>
                                <div>tcp_rd_buf_size=5273226</div>
                              </div>
                              <div><br>
                              </div>
                              <div>We are running kamilio 4.4.5</div>
                              <div><br>
                              </div>
                              <div>Thanks in advance!</div>
                              <div><br>
                              </div>
                              <div>Diego</div>
                              <div><br>
                              </div>
                              <div><br>
                              </div>
                              <div><br>
                              </div>
                            </div>
                          </div>
                        </div>
                        <br>
                        <div class="gmail_quote">
                          <div dir="ltr">El vie., 26 may. 2017 a las
                            16:12, Diego Nadares (<<a
                              href="mailto:dnadares@gmail.com"
                              target="_blank" moz-do-not-send="true">dnadares@gmail.com</a>>)
                            escribió:<br>
                          </div>
                          <blockquote class="gmail_quote"
                            style="margin:0 0 0 .8ex;border-left:1px
                            #ccc solid;padding-left:1ex">
                            <div dir="ltr">
                              <div>Hi guys!<br>
                              </div>
                              <div><br>
                              </div>
                              <div>We have four a scripts that sends
                                dlg.list command to kamailio through
                                xmlrpc. They are not executed
                                simultaneously.  Sometimes, we are
                                getting the following errors:</div>
                              <div><br>
                              </div>
                              <div> fm_search_defrag():
                                fm_search_defrag(0x7f212c25a000,
                                5273984); Free fragment not
                                found!2017-05-26T13:54:20.438736-03:00
                                drwsip02
                                /usr/local/sbin/kamailio[19833]: ERROR:
                                <core> [mem/f_malloc.c:498]:
                                fm_malloc(): fm_malloc(0x7f212c25a000,
                                5273984) called from core: tcp_main.c:
                                tcpconn_new(957), module: core; Free
                                fragment not
                                found!2017-05-26T13:54:20.439101-03:00
                                drwsip02
                                /usr/local/sbin/kamailio[19833]: ERROR:
                                <core> [tcp_main.c:959]:
                                tcpconn_new(): mem.
                                allocation failure2017-05-26T13:54:20.439344-03:00
                                drwsip02
                                /usr/local/sbin/kamailio[19833]: ERROR:
                                <core> [tcp_main.c:3985]:
                                handle_new_connect(): tcpconn_new
                                failed, closing socket</div>
                              <div><br>
                              </div>
                              <div>I all ready increased this two
                                variables:</div>
                              <div><br>
                              </div>
                              <div>
                                <div>tcp_conn_wq_max=30000000</div>
                                <div>tcp_rd_buf_size=5273226</div>
                              </div>
                              <div><br>
                              </div>
                              <div>How can I see how much memory xmlrpc
                                is using?</div>
                              <div><br>
                              </div>
                              <div>Any advice will be appreciated.</div>
                              <div><br>
                              </div>
                              <div>Thanks in advance!</div>
                              <div><br>
                              </div>
                              <div>Diego</div>
                              <div><br>
                              </div>
                            </div>
                          </blockquote>
                        </div>
                        <br>
                        <fieldset
class="m_-2857873773530698612m_-5901989749723021307m_-8124818534384319281mimeAttachmentHeader"></fieldset>
                        <br>
                        <pre>_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="m_-2857873773530698612m_-5901989749723021307m_-8124818534384319281moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" target="_blank" moz-do-not-send="true">sr-users@lists.kamailio.org</a>
<a class="m_-2857873773530698612m_-5901989749723021307m_-8124818534384319281moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
                      </blockquote>
                      <br>
                      <pre class="m_-2857873773530698612m_-5901989749723021307m_-8124818534384319281moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="m_-2857873773530698612m_-5901989749723021307m_-8124818534384319281moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank" moz-do-not-send="true">www.asipto.com</a>
<a class="m_-2857873773530698612m_-5901989749723021307m_-8124818534384319281moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a class="m_-2857873773530698612m_-5901989749723021307m_-8124818534384319281moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank" moz-do-not-send="true">www.linkedin.com/in/miconda</a>
Kamailio World Conference -- <a class="m_-2857873773530698612m_-5901989749723021307m_-8124818534384319281moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank" moz-do-not-send="true">www.kamailioworld.com</a>
Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- <a class="m_-2857873773530698612m_-5901989749723021307m_-8124818534384319281moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank" moz-do-not-send="true">www.asipto.com</a></pre>
                    </div>
                  </blockquote>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio World Conference -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a>
Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a></pre>
  </body>
</html>