<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Thanks Juan, that's it, i was missing the dev pkg.<br>
<br>
<br>
<div class="moz-cite-prefix">On 02/23/2017 08:34 PM, Juan Pablo
Godoy Macari wrote:<br>
</div>
<blockquote
cite="mid:CAF6MgOep7fdmZX2iOw_NJ88J0fydbsiFPSbp3At_jAYEd-hahQ@mail.gmail.com"
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"><<a moz-do-not-send="true"
href="mailto:jpgodoy@redvoiss.net" target="_blank">jpgodoy@redvoiss.net</a>></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="-ltcmalloc"</div>
<div class="HOEnZb">
<div class="h5">
<div class="gmail_extra"><br>
<div class="gmail_quote">2017-02-23 16:19 GMT-03:00
Antonio Silva <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:asilva@wirelessmundi.com"
target="_blank">asilva@wirelessmundi.com</a>></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't work for me... do i miss something?<br>
<br>
<br>
<a moz-do-not-send="true"
class="m_-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 moz-do-not-send="true"
class="m_-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 moz-do-not-send="true"
class="m_-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':<br>
configure: error: C compiler cannot create
executables
<div>
<div class="m_-1241466475139863682h5"><br>
<br>
<br>
<br>
<br>
<div
class="m_-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'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="m_-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'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"><<a
moz-do-not-send="true"
href="mailto:asilva@wirelessmundi.com"
target="_blank">asilva@wirelessmundi.com</a>></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/br<wbr>owse/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"
target="_blank">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitchsolutions.com"
rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.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.o<wbr>rg</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"
target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.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/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a
moz-do-not-send="true"
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 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="m_-1241466475139863682m_-847135978965072301mimeAttachmentHeader"></fieldset>
<br>
<pre>______________________________<wbr>______________________________<wbr>_____________
Professional FreeSWITCH Consulting Services:
<a moz-do-not-send="true" class="m_-1241466475139863682m_-847135978965072301moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a moz-do-not-send="true" class="m_-1241466475139863682m_-847135978965072301moz-txt-link-freetext" href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions<wbr>.com</a>
Official FreeSWITCH Sites
<a moz-do-not-send="true" class="m_-1241466475139863682m_-847135978965072301moz-txt-link-freetext" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a moz-do-not-send="true" class="m_-1241466475139863682m_-847135978965072301moz-txt-link-freetext" href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.o<wbr>rg</a>
<a moz-do-not-send="true" class="m_-1241466475139863682m_-847135978965072301moz-txt-link-freetext" href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a moz-do-not-send="true" class="m_-1241466475139863682m_-847135978965072301moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a>
<a moz-do-not-send="true" class="m_-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 moz-do-not-send="true" class="m_-1241466475139863682m_-847135978965072301moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/<wbr>freeswitch-users</a>
<a moz-do-not-send="true" class="m_-1241466475139863682m_-847135978965072301moz-txt-link-freetext" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></pre>
</blockquote>
<fieldset class="m_-1241466475139863682m_-847135978965072301mimeAttachmentHeader"></fieldset>
<pre>______________________________<wbr>______________________________<wbr>_____________
Professional FreeSWITCH Consulting Services:
<a moz-do-not-send="true" class="m_-1241466475139863682m_-847135978965072301moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a moz-do-not-send="true" class="m_-1241466475139863682m_-847135978965072301moz-txt-link-freetext" href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions<wbr>.com</a>
Official FreeSWITCH Sites
<a moz-do-not-send="true" class="m_-1241466475139863682m_-847135978965072301moz-txt-link-freetext" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a moz-do-not-send="true" class="m_-1241466475139863682m_-847135978965072301moz-txt-link-freetext" href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.o<wbr>rg</a>
<a moz-do-not-send="true" class="m_-1241466475139863682m_-847135978965072301moz-txt-link-freetext" href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a moz-do-not-send="true" class="m_-1241466475139863682m_-847135978965072301moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a>
<a moz-do-not-send="true" class="m_-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 moz-do-not-send="true" class="m_-1241466475139863682m_-847135978965072301moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/<wbr>freeswitch-users</a>
<a moz-do-not-send="true" class="m_-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 moz-do-not-send="true" href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a moz-do-not-send="true" href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a>
Official FreeSWITCH Sites
<a moz-do-not-send="true" href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a>
<a moz-do-not-send="true" href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a>
<a moz-do-not-send="true" href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a moz-do-not-send="true" href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a>
<a moz-do-not-send="true" 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 moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/<wbr>freeswitch-users</a>
<a moz-do-not-send="true" href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a>
</blockquote></div>
</div>
</div></div></blockquote></div>
</div>
<fieldset class="mimeAttachmentHeader"></fieldset>
<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>
</body></html>