ps -LlFm -p `pidof freeswitch`
That shows you CPU usage per FreeSWITCH thread
Then
pstack `pidof freeswitch`
That shows the stack trace of every FreeSWITCH thread and then you can find exactly what is doing.
--
Moises Silva
Senior Software Engineer
Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada
t. 1 905 474 1990 x 128 | e. moy@sangoma.com
FS (r16858) consumes 4-5% of CPU time with spikes to 10% when idle. No single
SIP request hits it. What does it doing? I unloaded all modules which can be
unloaded, no difference. Tried with both -vm and -heavy-timer start up
options. I'm running gentoo linux.
# uname -a
Linux 2.6.28-tuxonice-r10 #1 SMP Sat Oct 17 08:58:15 EDT 2009 i686 Intel(R)
Pentium(R) 4 CPU 2.80GHz GenuineIntel GNU/Linux
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org