[asterisk-bugs] [Asterisk 0009238]: [branch] manager seems to not flush it's eventq like it should

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Sep 5 03:32:55 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=9238 
====================================================================== 
Reported By:                bweschke
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   9238
Category:                   Core/ManagerInterface
Reproducibility:            sometimes
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.1 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        No 
Request Review:              
====================================================================== 
Date Submitted:             03-08-2007 12:33 CST
Last Modified:              09-05-2007 03:32 CDT
====================================================================== 
Summary:                    [branch] manager seems to not flush it's eventq like
it should
Description: 
 I'm opening this bug up to track an issue and manage a branch on an issue
I've been having with the 1.4 Asterisk Manager Interface. It seems it's not
flushing it's eventq which is causing it to consume huge amounts of memory
in a short period of time.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0010439 Memory leak and crash related (probably...
====================================================================== 

---------------------------------------------------------------------- 
 Ivan - 09-05-07 03:32  
---------------------------------------------------------------------- 
I made some changes in manager.c (see ast_1_4_11_patch_ami.diff) to fix the
problem. Fix consists of three parts. 
 - fix "race condition" in the case of AMI client connected
 - fix "race condition" in the case of AMI client connected
 - fix "copy&paste" error in comments for "manager show eventq" command
My synthetic test emulated this Issue is checked patch successfully. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-05-07 03:32  Ivan           Note Added: 0069951                          
======================================================================




More information about the asterisk-bugs mailing list