[asterisk-bugs] [Asterisk 0018533]: Asterisk consumes 100% of CPU on Mac OS X

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jan 4 23:19:32 UTC 2011


The following issue has been UPDATED. 
====================================================================== 
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:                     acknowledged
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:              2011-01-04 17:19 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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-04 17:19 lmadsen        Description Updated                          
======================================================================




More information about the asterisk-bugs mailing list