[Freeswitch-users] What FS is doing when idle?

Moises Silva moises.silva at gmail.com
Tue Mar 2 08:35:47 PST 2010


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 at sangoma.com


On Tue, Mar 2, 2010 at 11:13 AM, Sergey Okhapkin
<sos at sokhapkin.dyndns.org>wrote:

> 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100302/ffad511c/attachment-0002.html 


More information about the FreeSWITCH-users mailing list