[asterisk-bugs] [Asterisk 0017553]: Memory leak on reload
Asterisk Bug Tracker
noreply at bugs.digium.com
Sun Jun 27 22:03:42 CDT 2010
The following issue requires your FEEDBACK.
======================================================================
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: feedback
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-27 22:03 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.
======================================================================
----------------------------------------------------------------------
(0123944) tilghman (administrator) - 2010-06-27 22:03
https://issues.asterisk.org/view.php?id=17553#c123944
----------------------------------------------------------------------
Compile with MALLOC_DEBUG and get the output of "memory show summary" and
"memory show allocations", then do a "module reload", repeat the first two
commands, and upload all of the output as files to this issue.
Issue History
Date Modified Username Field Change
======================================================================
2010-06-27 22:03 tilghman Note Added: 0123944
2010-06-27 22:03 tilghman Status new => feedback
======================================================================
More information about the asterisk-bugs
mailing list