<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Juan,<br>
    <br>
    Thanks for the tips!!<br>
    <br>
    Unfortunately i cannot test with -nosql option, i need to have the
    sip_registration fill to be able to send options to natted
    endpoints. But i don't think the issue is in db, i use postgres and
    to get better performance from it i run it on tmpfs.<br>
    <br>
    <br>
    I read about tcmalloc, but from jira FS-7315, i get the idea that it
    didn't change anything.. but i guess i can try it and post the
    results, from the bt i do see some calls been done to malloc, but
    not sure if they are locking or not.<br>
    <br>
    Regards,<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 02/23/2017 06:52 PM, Juan Pablo
      Godoy Macari wrote:<br>
    </div>
    <blockquote
cite="mid:CAF6MgOcqz436AyM6MSG_JVy+NRQ_b1NePO_o=0O9wwkipUKi1A@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hello Antonio,
        <div><br>
        </div>
        <div>I had the same issue, to fix it i tried many things written
          in this mail list. Try running FS with -nosql option, if that
          doesn't work recompile FS with tcmalloc (from google's
          perfomance tools).</div>
        <div><br>
        </div>
        <div>That did it for me.</div>
        <div><br>
        </div>
        <div>Regards,</div>
        <div>Juan Pablo.</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2017-02-23 13:26 GMT-03:00 Antonio
          Silva <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:asilva@wirelessmundi.com" target="_blank">asilva@wirelessmundi.com</a>&gt;</span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
            <br>
            i'm having an issue with FS that gets lock every morning 
            with cpu sys<br>
            hitting 80%, because is limited in fs with min-idle, it
            could reach the<br>
            100%, so the calls are rejected by load, to solve the
            problem i kill fs<br>
            and start it again.<br>
            <br>
            I discard a load issue, because after restarting freeswitch
            the system<br>
            increases in number of sessions/cps and no problems at all
            until next<br>
            day.... it's given me crazy... i've enough memory, lots of
            cores...<br>
            after restart fs the system stays at less than 30% of cpu
            usage.<br>
            <br>
            <br>
            Right now i have hpet as clocksource, transcoding is minimal
            (use<br>
            inheric_codec, only happens because of different ptimes with
            some<br>
            endpoints) .<br>
            <br>
            <br>
            anyone having similar problem? or any tip i can do to debug
            this issue?<br>
            <br>
            <br>
            For info the Jira ticket can be located at<br>
            <a moz-do-not-send="true"
              href="https://freeswitch.org/jira/browse/FS-9957"
              rel="noreferrer" target="_blank">https://freeswitch.org/jira/<wbr>browse/FS-9957</a>,<br>
            <br>
            i've done a gcore, top, htop when the system is with high
            cpu sys but i<br>
            can't figure the thread that is causing the issue... initial
            i thought<br>
            it was because of module lua (most of my logic is done
            there), but today<br>
            only 2 threads where running mod_lua when it happen.<br>
            <br>
            <br>
            Appreciate the help.<br>
            <br>
            <br>
            --<br>
            <br>
            Saludos / Regards / Cumprimentos,<br>
            António silva<br>
            <br>
            <br>
            ______________________________<wbr>______________________________<wbr>_____________<br>
            Professional FreeSWITCH Consulting Services:<br>
            <a moz-do-not-send="true"
              href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
            <a moz-do-not-send="true"
              href="http://www.freeswitchsolutions.com" rel="noreferrer"
              target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
            <br>
            Official FreeSWITCH Sites<br>
            <a moz-do-not-send="true" href="http://www.freeswitch.org"
              rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
            <a moz-do-not-send="true"
              href="http://confluence.freeswitch.org" rel="noreferrer"
              target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
            <a moz-do-not-send="true" href="http://www.cluecon.com"
              rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
            <br>
            FreeSWITCH-users mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
              rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
            UNSUBSCRIBE:<a moz-do-not-send="true"
              href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
              rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
            <a moz-do-not-send="true" href="http://www.freeswitch.org"
              rel="noreferrer" target="_blank">http://www.freeswitch.org</a></blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a></pre>
    </blockquote>
    <br>
  </body>
</html>