[asterisk-bugs] [Asterisk 0017384]: CPU usage very high when putting call on MOH

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Aug 6 13:34:48 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17384 
====================================================================== 
Reported By:                coolmig
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17384
Category:                   Resources/res_musiconhold
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.2.8-rc1 
JIRA:                       SWP-1994 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-05-24 11:26 CDT
Last Modified:              2010-08-06 13:34 CDT
====================================================================== 
Summary:                    CPU usage very high when putting call on MOH
Description: 
Test scenario is very simple, two asterisk servers talking to each other
SIP.

SIP phone dials a extension on the first server which makes a call to the
other server that queues the call (and plays MOH). CPU usage is very
little, as always.

As long as I enable MOH on the SIP client, the CPU usage skyrockets... as
soon as I stop MOH on the SIP phone, everything goes back to normal.

This limits normal asterisk use with many channels involved.
====================================================================== 

---------------------------------------------------------------------- 
 (0125645) lmadsen (administrator) - 2010-08-06 13:34
 https://issues.asterisk.org/view.php?id=17384#c125645 
---------------------------------------------------------------------- 
Do you get better response than res_timing_pthread? What are the specs of
this server you're getting the issues on?

The reason I ask about the specs of the server is that res_timing_pthread
is not terribly efficient, but if this is a powerful server you're running
on we may want to look into this further to determine if anything can be
done.

Trying another timing source may help with this if the server is not very
powerful.

Thanks! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-06 13:34 lmadsen        Note Added: 0125645                          
======================================================================




More information about the asterisk-bugs mailing list