[asterisk-bugs] [Asterisk 0018533]: Asterisk consumes 100% of CPU on Mac OS X
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Dec 27 03:32:39 UTC 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=18533
======================================================================
Reported By: ssokol
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 18533
Category: Core/Portability
Reproducibility: always
Severity: major
Priority: normal
Status: new
Asterisk Version: SVN
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): 1.8
SVN Revision (number only!): 294125
Request Review:
======================================================================
Date Submitted: 2010-12-26 11:12 CST
Last Modified: 2010-12-26 21:32 CST
======================================================================
Summary: Asterisk consumes 100% of CPU on Mac OS X
Description:
I've run Asterisk 1.8.0 and 1.8.1 on several Macs (all running Mac OS X
10.6.5) and in every case it sucks up 100.x% of available CPU. (Note that
in call cases the system has at least 2 cores, so this is possible). I've
run a profile (or what the Mac calls a "sample") and it shows a lot of
this:
2169 Thread_29623
2169 thread_start
2169 _pthread_start
2169 dummy_start
2169 do_devstate_changes
2169 _pthread_cond_wait
2169 __semwait_signal
2169 Thread_29624
2169 thread_start
2169 _pthread_start
2169 dummy_start
2169 tps_processing_function
2169 _pthread_cond_wait
2169 __semwait_signal
2169 Thread_29625
2169 thread_start
2169 _pthread_start
2169 dummy_start
2169 do_parking_thread
2169 ast_internal_poll
2169 select$DARWIN_EXTSN
I'll attach the complete sample file. Please let me know what else you
need to help figure this out.
======================================================================
----------------------------------------------------------------------
(0129980) ssokol (reporter) - 2010-12-26 21:32
https://issues.asterisk.org/view.php?id=18533#c129980
----------------------------------------------------------------------
I tried loading Asterisk without chan_iax2.so (noload => chan_iax2.so) and
I still see the CPU at 100.x%. I see a very high number of calls to
__semwait_signal and a slightly lower number of calls to
_pthread_cond_wait.
Issue History
Date Modified Username Field Change
======================================================================
2010-12-26 21:32 ssokol Note Added: 0129980
======================================================================
More information about the asterisk-bugs
mailing list