[asterisk-bugs] [Asterisk 0016158]: High CPU usage, choppy sound

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Oct 31 16:35:24 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16158 
====================================================================== 
Reported By:                mustardman
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16158
Category:                   Applications/General
Reproducibility:            random
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.1.8 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-10-30 19:45 CDT
Last Modified:              2009-10-31 16:35 CDT
====================================================================== 
Summary:                    High CPU usage, choppy sound
Description: 
After upgrading from Asterisk 1.6.1.6 to 1.6.1.8 I seem to have a random
problem with high CPU usage.  When making a SIP to SIP call or SIP to
System call Asterisk process CPU usage goes much higher than normal and the
sound get's choppy.  This is somewhat random but occurs fairly regularly,
maybe 50% of the time.

If it happens it happens as soon as a call is answered.  CPU usage
sometimes stays high for minutes and will suddenly go low even though I
didn't do anything.  More often than not it only stays high for a short
period of time and then goes back to normal.

I am running 64bit CentOS 5.4.  Log files and Asterisk CLI -vvvvvvvvvvr
look clean.  

Not sure if this is useful but I will attached a gdb.txt file taken while
it is happening
====================================================================== 

---------------------------------------------------------------------- 
 (0112947) mustardman (reporter) - 2009-10-31 16:35
 https://issues.asterisk.org/view.php?id=16158#c112947 
---------------------------------------------------------------------- 
Upon further testing it is worse than I originally thought.  The longer
Asterisk sits idling the worse it is when it first answers a call.  After
about 10 minutes of idling it goes to 50% cpu usage (on my dual core HT
system).  If I leave Asterisk idling for an hour or two and call in to the
system the Asterisk process pins the CPU at 100% for about 30 seconds.

I am starting asterisk with safe_asterisk but it is the asterisk process
that pins the CPU. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-31 16:35 mustardman     Note Added: 0112947                          
======================================================================




More information about the asterisk-bugs mailing list