<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body 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="moz-cite-prefix">On 03.10.18 16:37, Diego Nadares wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAP-r+eoZ+s6Er-5p0OtOGRTguFPwT6Rx898wNX6NvZyGVieAVQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <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"
            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="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </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>