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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Aug 27 08:37:35 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-08-27 08:37 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0091784) murf (administrator) - 2008-08-27 08:37
 http://bugs.digium.com/view.php?id=13235#c91784 
---------------------------------------------------------------------- 
OK, then, let's not deprive you of income, but rather, go find another box,
and put trunk version of Asterisk on it, and set it up just like your
production box. you can connect this to the db from the trunk box just like
your production machine (you may have to go and delete the cdrs from your
db afterwards.)

You probably will need to wipe your sip config on the trunk box, so you
don't worry about your customer base. Grab two sip phones, and set up so
they connect to your box like your customers do. Then, start asterisk, work
out the setup bugs, and get out of asterisk. Do the valgrind thing. Make
calls from/to the phones,
maybe 10 or so calls. Do the stop gracefully, and collect the results.

Can you do the above? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-27 08:37 murf           Note Added: 0091784                          
======================================================================




More information about the asterisk-bugs mailing list