[asterisk-bugs] [Asterisk 0015973]: Huge memory consumption after few hours of load
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Sep 28 14:11:59 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=15973
======================================================================
Reported By: atis
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 15973
Category: Core/General
Reproducibility: always
Severity: major
Priority: normal
Status: new
Asterisk Version: 1.6.1.5
JIRA:
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2009-09-27 17:14 CDT
Last Modified: 2009-09-28 14:11 CDT
======================================================================
Summary: Huge memory consumption after few hours of load
Description:
I'm doing load tests on Asterisk 1.6.1.5 and after few hours of load, it
takes 80% of ram (6GB installed), so it becomes unable to fork itself (when
using System() dialplan app), and creating core dump takes an hour. Core
dumps are in size of 9 Gigabytes.
Memory summary doesn't show anytingh of much usage:
80469516 bytes allocated (8800 in caches) in 71421 allocations
while top shows:
Mem: 6055876k total, 6009316k used, 46560k free, 19220k buffers
Swap: 4096564k total, 4096548k used, 16k free, 249980k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
15870 asterisk 10 -10 9780m 4.8g 3936 S 6 83.1 505:00.32 asterisk
======================================================================
----------------------------------------------------------------------
(0111457) tilghman (administrator) - 2009-09-28 14:11
https://issues.asterisk.org/view.php?id=15973#c111457
----------------------------------------------------------------------
[13:43] <lmadsen> I'm not sure what to ask for there
[13:45] <Corydon76-lap> I'm not sure that it's a bug in Asterisk
[13:46] <Corydon76-lap> as I mentioned in #asterisk-dev over the weekend
[13:46] <Corydon76-lap> Linux does NOT release memory allocated to the
process back to the core until the process ends. Ever.
[13:47] <Corydon76-lap> So if his massive load once took up 4.8GB of
memory, then it's going to continue to take up that amount until the
process dies
[13:48] <Corydon76-lap> and there is ZERO that we can do to change that
[13:48] <Corydon76-lap> only thing to fix it is to add more swap
Issue History
Date Modified Username Field Change
======================================================================
2009-09-28 14:11 tilghman Note Added: 0111457
======================================================================
More information about the asterisk-bugs
mailing list