FYI, I've added this information to the "Reporting Bugs" page. Everyone please be ready to point those with "my CPU is at 100%" questions to this section:
http://wiki.freeswitch.org/wiki/Reporting_Bugs#CPU_Usage
-MC
update to latest
reproduce
cmd: top -H `cat /usr/local/freeswitch/run/freeswitch.pid`
find the process that is 100% and note its pid
cmd: gcore `cat /usr/local/freeswitch/run/freeswitch.pid`
cmd: gdb `which freeswitch` <name of resulting file generated by gcore>
enter: "info threads"
look for the one with the same pid as the one you noted above
enter: thread <thread # that goes with the pid>
enter: bt
but you should be using jira, I have to say this 200 times a week.
On Fri, May 18, 2012 at 5:10 AM, Peter Olsson
<peter.olsson@visionutveckling.se> wrote:
> If this is still reproducable on latest git, please file a Jira and supply as much details as possible. At least you will need to upload debug log, and a stack trace when this happens.
>
> /Peter
>
> 17 maj 2012 kl. 22:41 skrev "Stephen Wilde" <wstephen80@gmail.com>:
>
>> I have done a git pull (now git-83e090c 2012-05-17 16-40-30 +0000) and I have a strange load distribution over cores: one core at 100%.
>>
>> Here the htop:
>>
>>
>> 1 [|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||100.0%]
>> 2 [||||||||||||||||| 19.1%]
>> 3 [|| 1.3%]
>> 4 [|| 1.3%]
>> 5 [ 0.0%]
>> 6 [ 0.0%]
>> 7 [|||| 3.9%]
>> 8 [||||||||||||| 13.2%]
>> 9 [ 0.0%]
>> 10 [||||||||||||||||| 18.3%]
>> 11 [||||| 4.6%]
>> 12 [|||||||||||||||| 17.0%]
>> 13 [|||||||| 8.6%]
>> 14 [|||||||||||| 12.5%]
>> 15 [|||||||| 8.6%]
>> 16 [||||||||||||||||||| 21.1%]
>>
>>
>> After revert to an old git I have this htop:
>>
>> 1 [||||||| 7.2%]
>> 2 [|||||||||||| 11.8%]
>> 3 [||||| 5.3%]
>> 4 [||||||| 6.6%]
>> 5 [|||| 3.3%]
>> 6 [||||||||| 9.0%]
>> 7 [||||| 4.6%]
>> 8 [|||||||||||||| 15.1%]
>> 9 [||||||| 6.5%]
>> 10 [||||||||| 9.3%]
>> 11 [|||||| 6.5%]
>> 12 [|||||||||||||| 14.9%]
>> 13 [|||||||| 7.8%]
>> 14 [|||||||||||||||| 17.0%]
>> 15 [|||||||| 7.3%]
>> 16 [||||||||||| 11.8%]
>>
>> anyone with same issue?
>> !DSPAM:4fb55f8732762045212077!