[asterisk-bugs] [Asterisk 0018735]: [patch] memory leak with IAX in 1.8

Asterisk Bug Tracker noreply at bugs.digium.com
Tue May 31 13:26:54 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18735 
====================================================================== 
Reported By:                tzafrir
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18735
Category:                   Channels/chan_iax2
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.8 
SVN Revision (number only!): 319469 
Request Review:              
====================================================================== 
Date Submitted:             2011-02-02 12:43 CST
Last Modified:              2011-05-31 13:26 CDT
====================================================================== 
Summary:                    [patch] memory leak with IAX in 1.8
Description: 
I'm trying to track a certain memory leak: the sizes (rss, size, vsize)
keep increasing, whereas the memory size shown by 'memory show summary' and
'astobj2 show allocations' don't inflate.

When I stop the remote Asterisk server, the memory inflation stops. Thus
it must be triggered by the registration requests.

I managed to reproduce this on several Centos5 systems, but not on my
laptop (x86_64, Debian Squeeze). It has been around for a number of months,
at least.

Update: seems to be easy to reproduce on other 32bit systems. I'm not
exactly sure if it happens in 64bit systems (the rss increases the same,
but size and vsize seem to increase in much larger steps).
====================================================================== 

---------------------------------------------------------------------- 
 (0135589) seadweller (reporter) - 2011-05-31 13:26
 https://issues.asterisk.org/view.php?id=18735#c135589 
---------------------------------------------------------------------- 
Seeing this on CentOS as well.  Have 3 boxes running 1.6.2.18... only the
one built with and running chan_iax2.so is showing huge VIRT numbers in
top.

The other two are running chan_sip.so only and fine. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-31 13:26 seadweller     Note Added: 0135589                          
======================================================================




More information about the asterisk-bugs mailing list