[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
Tue Sep 18 15:38:01 CDT 2007


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=9238 
====================================================================== 
Reported By:                bweschke
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   9238
Category:                   Core/ManagerInterface
Reproducibility:            sometimes
Severity:                   major
Priority:                   normal
Status:                     assigned
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-18-2007 15:38 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...
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 09-18-07 15:38  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 82867

------------------------------------------------------------------------
r82867 | russell | 2007-09-18 15:37:56 -0500 (Tue, 18 Sep 2007) | 10 lines

Fix a memory leak that can occur on systems under higher load.  The issue
is
that when events are appended to the master event queue, they use the
number
of active sessions as a use count so it will know when all active sessions
at the time the event happened have consumed it.  However, the handling of
the number of sessions was not properly synchronized, so the use count was
not always correct, causing an event to disappear early, or get stuck in
the event queue for forever.

(closes issue http://bugs.digium.com/view.php?id=9238, reported by bweschke,
patch from Ivan, modified by
me)

------------------------------------------------------------------------ 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-18-07 15:38  svnbot         Note Added: 0070753                          
09-18-07 15:38  svnbot         Status                   feedback => assigned
09-18-07 15:38  svnbot         Assigned To               => russell         
======================================================================




More information about the asterisk-bugs mailing list