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

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Dec 26 17:12:43 UTC 2010


The following issue has been SUBMITTED. 
====================================================================== 
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 11:12 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               
====================================================================== 
2010-12-26 11:12 ssokol         New Issue                                    
2010-12-26 11:12 ssokol         Asterisk Version          => SVN             
2010-12-26 11:12 ssokol         Regression                => No              
2010-12-26 11:12 ssokol         SVN Branch (only for SVN checkouts, not tarball
releases) => 1.8             
2010-12-26 11:12 ssokol         SVN Revision (number only!) => 294125          
======================================================================




More information about the asterisk-bugs mailing list