ps -LlFm -p `pidof freeswitch`<br><br>That shows you CPU usage per FreeSWITCH thread<br><br>Then<br><br>pstack `pidof freeswitch`<br><br>That shows the stack trace of every FreeSWITCH thread and then you can find exactly what is doing.<br>
<br>-- <br>Moises Silva<br>Senior Software Engineer<br>Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada<br>t. 1 905 474 1990 x 128 | e. <a href="mailto:moy@sangoma.com">moy@sangoma.com</a><br>
<br><br><div class="gmail_quote">On Tue, Mar 2, 2010 at 11:13 AM, Sergey Okhapkin <span dir="ltr"><<a href="mailto:sos@sokhapkin.dyndns.org">sos@sokhapkin.dyndns.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
FS (r16858) consumes 4-5% of CPU time with spikes to 10% when idle. No single<br>
SIP request hits it. What does it doing? I unloaded all modules which can be<br>
unloaded, no difference. Tried with both -vm and -heavy-timer start up<br>
options. I'm running gentoo linux.<br>
<br>
# uname -a<br>
Linux 2.6.28-tuxonice-r10 #1 SMP Sat Oct 17 08:58:15 EDT 2009 i686 Intel(R)<br>
Pentium(R) 4 CPU 2.80GHz GenuineIntel GNU/Linux<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><br>