[asterisk-bugs] [Asterisk 0017081]: Memory Leak in app_queue

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Mar 23 07:12:47 CDT 2010


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17081 
====================================================================== 
Reported By:                wliegel
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17081
Category:                   Applications/app_queue
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.0.26 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-03-23 07:12 CDT
Last Modified:              2010-03-23 07:12 CDT
====================================================================== 
Summary:                    Memory Leak in app_queue
Description: 
Hello,
on a system with lots of realtime queues I have a problem with very high
memory consumption in app_queue.
According to "memory show summary", there is a high number of allocations
in
/usr/src/asterisk-1.6.0.26/include/asterisk/strings.h:390 (>5.000.000
allocations per Day) as well as high memory consumption in app_queue.c:1449
in only a few allocations (>1GB in 778 allocations).

This issue is simply reproducible by typing "queue show" several times in
the cli and watch the allocation summary.
The more (realtime?)queues are configured the faster grows the memory
consumption after each "queue show" command.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-23 07:12 wliegel        Asterisk Version          => 1.6.0.26        
2010-03-23 07:12 wliegel        Regression                => No              
2010-03-23 07:12 wliegel        SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list