<div dir="ltr">Do you have pcaps of the traffic that may trigger this behavior?<div><br></div><div>/b</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 23, 2017 at 2:58 PM, Antonio Silva <span dir="ltr">&lt;<a href="mailto:asilva@wirelessmundi.com" target="_blank">asilva@wirelessmundi.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Thanks Juan, that&#39;s it, i was missing the dev pkg.<div><div class="h5"><br>
    <br>
    <br>
    <div class="m_-763834884867468841moz-cite-prefix">On 02/23/2017 08:34 PM, Juan Pablo
      Godoy Macari wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Antonio, you should install this:
        <div><br>
        </div>
        <div>apt-get install libgoogle-perftools-dev<br>
        </div>
        <div><br>
        </div>
        <div>Regards,</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2017-02-23 16:26 GMT-03:00 Juan Pablo
          Godoy Macari <span dir="ltr">&lt;<a href="mailto:jpgodoy@redvoiss.net" target="_blank">jpgodoy@redvoiss.net</a>&gt;</span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">Try this: ./configure LIBS=&quot;-ltcmalloc&quot;</div>
            <div class="m_-763834884867468841HOEnZb">
              <div class="m_-763834884867468841h5">
                <div class="gmail_extra"><br>
                  <div class="gmail_quote">2017-02-23 16:19 GMT-03:00
                    Antonio Silva <span dir="ltr">&lt;<a 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">
                      <div bgcolor="#FFFFFF" text="#000000"> Hi,<br>
                        <br>
                        Did you compile fs in debian with tcmalloc? <br>
                        <br>
                        didn&#39;t work for me... do i miss something?<br>
                        <br>
                        <br>
                        <a class="m_-763834884867468841m_-1241466475139863682m_-847135978965072301moz-txt-link-abbreviated" href="mailto:root@dev:/usr/src/freeswitch.git#" target="_blank">root@dev:/usr/src/freeswitch.g<wbr>it#</a>
                        apt-get install libtcmalloc-minimal4<br>
                        <a class="m_-763834884867468841m_-1241466475139863682m_-847135978965072301moz-txt-link-abbreviated" href="mailto:root@dev:/usr/src/freeswitch.git#" target="_blank">root@dev:/usr/src/freeswitch.g<wbr>it#</a>
                        export LIBS=-ltcmalloc<br>
                        <a class="m_-763834884867468841m_-1241466475139863682m_-847135978965072301moz-txt-link-abbreviated" href="mailto:root@dev:/usr/src/freeswitch.git#" target="_blank">root@dev:/usr/src/freeswitch.g<wbr>it#</a>
                        ./configure<br>
                        checking for a BSD-compatible install...
                        /usr/bin/install -c<br>
                        checking whether build environment is sane...
                        yes<br>
                        checking for a thread-safe mkdir -p...
                        /bin/mkdir -p<br>
                        checking for gawk... no<br>
                        checking for mawk... mawk<br>
                        checking whether make sets $(MAKE)... yes<br>
                        checking whether make supports nested
                        variables... yes<br>
                        checking whether make supports nested
                        variables... (cached) yes<br>
                        checking build system type...
                        x86_64-unknown-linux-gnu<br>
                        checking host system type...
                        x86_64-unknown-linux-gnu<br>
                        checking for style of include used by make...
                        GNU<br>
                        checking for gcc... gcc<br>
                        checking whether the C compiler works... no<br>
                        configure: error: in `/usr/src/freeswitch.git&#39;:<br>
                        configure: error: C compiler cannot create
                        executables
                        <div>
                          <div class="m_-763834884867468841m_-1241466475139863682h5"><br>
                            <br>
                            <br>
                            <br>
                            <br>
                            <div class="m_-763834884867468841m_-1241466475139863682m_-847135978965072301moz-cite-prefix">On
                              02/23/2017 07:56 PM, Antonio Silva wrote:<br>
                            </div>
                            <blockquote type="cite"> 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&#39;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&#39;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="m_-763834884867468841m_-1241466475139863682m_-847135978965072301moz-cite-prefix">On
                                02/23/2017 06:52 PM, Juan Pablo Godoy
                                Macari wrote:<br>
                              </div>
                              <blockquote 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&#39;t work
                                    recompile FS with tcmalloc (from
                                    google&#39;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 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&#39;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&#39;s given me crazy...
                                      i&#39;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 href="https://freeswitch.org/jira/browse/FS-9957" rel="noreferrer" target="_blank">https://freeswitch.org/jira/br<wbr>owse/FS-9957</a>,<br>
                                      <br>
                                      i&#39;ve done a gcore, top, htop when
                                      the system is with high cpu sys
                                      but i<br>
                                      can&#39;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 href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
                                      <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
                                      <br>
                                      Official FreeSWITCH Sites<br>
                                      <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
                                      <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
                                      <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
                                      <br>
                                      FreeSWITCH-users mailing list<br>
                                      <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
                                      <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
                                      UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/free<wbr>switch-users</a><br>
                                      <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a></blockquote>
                                  </div>
                                  <br>
                                </div>
                                <br>
                                <fieldset class="m_-763834884867468841m_-1241466475139863682m_-847135978965072301mimeAttachmentHeader"></fieldset>
                                <br>
                                <pre>______________________________<wbr>______________________________<wbr>_____________
Professional FreeSWITCH Consulting Services: 
<a class="m_-763834884867468841m_-1241466475139863682m_-847135978965072301moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a class="m_-763834884867468841m_-1241466475139863682m_-847135978965072301moz-txt-link-freetext" href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions<wbr>.com</a>

Official FreeSWITCH Sites
<a class="m_-763834884867468841m_-1241466475139863682m_-847135978965072301moz-txt-link-freetext" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a class="m_-763834884867468841m_-1241466475139863682m_-847135978965072301moz-txt-link-freetext" href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.o<wbr>rg</a>
<a class="m_-763834884867468841m_-1241466475139863682m_-847135978965072301moz-txt-link-freetext" href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="m_-763834884867468841m_-1241466475139863682m_-847135978965072301moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a>
<a class="m_-763834884867468841m_-1241466475139863682m_-847135978965072301moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a>
UNSUBSCRIBE:<a class="m_-763834884867468841m_-1241466475139863682m_-847135978965072301moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/free<wbr>switch-users</a>
<a class="m_-763834884867468841m_-1241466475139863682m_-847135978965072301moz-txt-link-freetext" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></pre>
      </blockquote>
      

      

      <fieldset class="m_-763834884867468841m_-1241466475139863682m_-847135978965072301mimeAttachmentHeader"></fieldset>
      

      <pre>______________________________<wbr>______________________________<wbr>_____________
Professional FreeSWITCH Consulting Services: 
<a class="m_-763834884867468841m_-1241466475139863682m_-847135978965072301moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a class="m_-763834884867468841m_-1241466475139863682m_-847135978965072301moz-txt-link-freetext" href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions<wbr>.com</a>

Official FreeSWITCH Sites
<a class="m_-763834884867468841m_-1241466475139863682m_-847135978965072301moz-txt-link-freetext" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a class="m_-763834884867468841m_-1241466475139863682m_-847135978965072301moz-txt-link-freetext" href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.o<wbr>rg</a>
<a class="m_-763834884867468841m_-1241466475139863682m_-847135978965072301moz-txt-link-freetext" href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="m_-763834884867468841m_-1241466475139863682m_-847135978965072301moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a>
<a class="m_-763834884867468841m_-1241466475139863682m_-847135978965072301moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a>
UNSUBSCRIBE:<a class="m_-763834884867468841m_-1241466475139863682m_-847135978965072301moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/free<wbr>switch-users</a>
<a class="m_-763834884867468841m_-1241466475139863682m_-847135978965072301moz-txt-link-freetext" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></pre>
    </blockquote>
    

  </div></div></div>


______________________________<wbr>______________________________<wbr>_____________

Professional FreeSWITCH Consulting Services:

<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>

<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a>



Official FreeSWITCH Sites

<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a>

<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a>

<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a>



FreeSWITCH-users mailing list

<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a>

<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a>

UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/free<wbr>switch-users</a>

<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a>
</blockquote></div>
</div>
</div></div></blockquote></div>
</div>


<fieldset class="m_-763834884867468841mimeAttachmentHeader"></fieldset>
<pre>______________________________<wbr>______________________________<wbr>_____________
Professional FreeSWITCH Consulting Services: 
<a class="m_-763834884867468841moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a class="m_-763834884867468841moz-txt-link-freetext" href="http://www.freeswitchsolutions.com" target="_blank">http://www.<wbr>freeswitchsolutions.com</a>

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

FreeSWITCH-users mailing list
<a class="m_-763834884867468841moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.<wbr>freeswitch.org</a>
<a class="m_-763834884867468841moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a>
UNSUBSCRIBE:<a class="m_-763834884867468841moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a>
<a class="m_-763834884867468841moz-txt-link-freetext" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></pre>

</blockquote>
</div></div></div><br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a 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 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 href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">







<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p><p><b style="font-family:monospace,monospace;font-size:small"><i>Twitter: @FreeSWITCH , @briankwest</i></b></p><p><font size="2" face="monospace, monospace"><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a> <br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a><br><br>Allison prompts for FreeSWITCH:</font></p><table cellspacing="0" cellpadding="0" style="font-size:12.8px"><tbody><tr><td valign="baseline"><p><span><a href="https://www.gofundme.com/allison-prompts-for-freeswitch" target="_blank"><b>https://www.gofundme.com/allison-prompts-for-freeswitch</b></a></span></p></td></tr></tbody></table><table cellspacing="0" cellpadding="0"><tbody>
</tbody>
</table><p><span><font face="monospace, monospace" size="2">Wish to schedule a meeting?</font></span></p><p><span><a href="http://app.timebridge.com/#/meet/freeswitch" target="_blank"><font face="monospace, monospace" size="2">http://app.timebridge.com/#/meet/freeswitch</font></a></span></p><p><font face="monospace, monospace">Got Bugs? Report them <a href="https://freeswitch.org/jira" target="_blank">here</a>! | Reddit: <a href="https://www.reddit.com/r/freeswitch" target="_blank">/r/freeswitch</a></font></p>
<p><font size="2" face="monospace, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>Skype:</b>briankwest</font></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>