[asterisk-bugs] [Asterisk 0017553]: Memory leak on reload

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jun 28 15:54:05 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17553 
====================================================================== 
Reported By:                captainjez
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17553
Category:                   Core/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.7 
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-06-24 20:20 CDT
Last Modified:              2010-06-28 15:54 CDT
====================================================================== 
Summary:                    Memory leak on reload
Description: 
I've compiled a fresh version of Asterisk 1.6.2.7 under FreeBSD 8.0,
however on a "dialplan reload" or "module reload" the memory usage of
Asterisk jumps on average by around 100k in size. When I reduce the
hash_users, hash_peers and hash_dialogs sizes down from the defaults, the
memory jump is reduced to around 10-15k on average. I've set them to:

hash_users=150
hash_peers=50 
hash_dialogs=50 

I'm able to always reproduce this, i've tried removing modules to see if
there's something specific causing a leak, however to no avail.

Details are as follows:

FreeBSD 8.0-RELEASE-p3 https://issues.asterisk.org/view.php?id=0: Wed May 26
05:45:12 UTC 2010    
root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC 

Asterisk was compiled from source, the version in ports tree is too far
behind so we can't use this.

Happy to provide any other information required to assist.

Thanks.
====================================================================== 

---------------------------------------------------------------------- 
 (0123974) captainjez (reporter) - 2010-06-28 15:54
 https://issues.asterisk.org/view.php?id=17553#c123974 
---------------------------------------------------------------------- 
Also to note this is freebsd not Linux. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-28 15:54 captainjez     Note Added: 0123974                          
======================================================================




More information about the asterisk-bugs mailing list