[asterisk-bugs] [Asterisk 0016811]: Heavy locking in manager.c results in eventual crash and loss of CLI commands and intense CPU load

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Feb 12 08:47:02 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16811 
====================================================================== 
Reported By:                aragon
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16811
Category:                   Core/ManagerInterface
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.4.30-rc2 
JIRA:                       SWP-899 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-02-11 08:29 CST
Last Modified:              2010-02-12 08:47 CST
====================================================================== 
Summary:                    Heavy locking in manager.c results in eventual crash
and loss of CLI commands and intense CPU load
Description: 
We run some scripts connecting to Asterisk AMI to display realtime Asterisk
statistics.  When our AMI stuff is connected to Asterisk versions 1.4.25 to
1.4.30rc2 there is heavy duty locking and CPU load spiking which will
degrade voice quality, kill the Asterisk CLI commands like core show locks,
core show channels etc... and I have seen the load in HTOP reach 300 until
Asterisk is forcibly restarted. Asterisk 1.4.24 is not effected so we don't
think it is our scripts...

Core show locks and gdb asterisk --pid=`pidof asterisk` 'thread apply all
bt' is attached as txt files
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0016754 [patch] Multiple segfaults in leave_voi...
====================================================================== 

---------------------------------------------------------------------- 
 (0118031) aragon (reporter) - 2010-02-12 08:47
 https://issues.asterisk.org/view.php?id=16811#c118031 
---------------------------------------------------------------------- 
https://reviewboard.asterisk.org/r/219/
This change has been discarded.

When running Asterisk 1.4.29 or 1.4.30rc2 locks up and load screeches as
soon as I execute core show channels command.  Same gdb traces as already
uploaded.

Is somebody investigating a new patch?
I am very willing to test any new patch on my test rig under high load. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-02-12 08:47 aragon         Note Added: 0118031                          
======================================================================




More information about the asterisk-bugs mailing list