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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Aug 6 11:58:50 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:                     assigned
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-08-06 11:58 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0091151) murf (administrator) - 2008-08-06 11:58
 http://bugs.digium.com/view.php?id=13235#c91151 
---------------------------------------------------------------------- 
First, try removing entirely the unnecc. cdr config files. I fear that that
their backends may be registered and getting in the way.

Remove the cdr_mysql.conf,  cdr_pgsql.conf, and cdr_tds.conf files. That
should keep those backends from loading (if you have the requisite libs,
etc).

cdr_manager is OK, it has enable=no, which should keep it silent.

Then, after reloading, see if this reduces your memory consumption, and
report back 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-06 11:58 murf           Note Added: 0091151                          
======================================================================




More information about the asterisk-bugs mailing list