[asterisk-bugs] [Asterisk 0013235]: Memory leak in Asterisk 1.4 and Trunk

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Sep 3 10:54:14 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13235 
====================================================================== 
Reported By:                falves11
Assigned To:                murf
====================================================================== 
Project:                    Asterisk
Issue ID:                   13235
Category:                   Core/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 13058 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-08-04 18:31 CDT
Last Modified:              2008-09-03 10:54 CDT
====================================================================== 
Summary:                    Memory leak in Asterisk 1.4 and Trunk
Description: 
Both versions of Asterisk have a huge memory leak. I thought that it was
Trunk only and ported my app to 1.4. After 1 day and 17 hours the memory
has gone up 1.2 GB. I only have 300 open calls. My machine is open for
inspection. I am not using "malloc debug" and "don't optimize", for
performance reasons,but I will restart tonight the server. if somebody
wants to suggest any diagnostic technique, please let me know before I
restart.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0013409 [patch] Huge memory leak because memory...
====================================================================== 

---------------------------------------------------------------------- 
 (0092022) murf (administrator) - 2008-09-03 10:54
 http://bugs.digium.com/view.php?id=13235#c92022 
---------------------------------------------------------------------- 
falves11 --

I have supplied the folks who handle ABE a list of the revisions that are
part of the leak fix. My initial tests on around 10 successful sip calls
shows no leaks. I asked the guys in ABE to supply you with both a plain
(production) with the fix included, and a DEBUG_MALLOC version, which you
can
use in case the fix doesn't apply to you. The best way to use the
DEBUG_MALLOC
version is to start up asterisk, run "memory show allocations" on the CLI,

process a couple hundred calls, then do "memory show allocations" again,
and send the results of both. Hopefully the fix will halt the memory growth
and we won't have any testing to do. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-09-03 10:54 murf           Note Added: 0092022                          
======================================================================




More information about the asterisk-bugs mailing list