[asterisk-bugs] [Asterisk 0015973]: Huge memory consumption after few hours of load

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Oct 1 22:09:26 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15973 
====================================================================== 
Reported By:                atis
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   15973
Category:                   Core/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-09-27 17:14 CDT
Last Modified:              2009-10-01 22:09 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

====================================================================== 

---------------------------------------------------------------------- 
 (0111782) svnbot (reporter) - 2009-10-01 22:09
 https://issues.asterisk.org/view.php?id=15973#c111782 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 221922

_U  branches/1.6.1/
U   branches/1.6.1/main/logger.c

------------------------------------------------------------------------
r221922 | tilghman | 2009-10-01 22:09:25 -0500 (Thu, 01 Oct 2009) | 11
lines

Merged revisions 221920 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r221920 | tilghman | 2009-10-01 22:04:34 -0500 (Thu, 01 Oct 2009) | 4
lines
  
  Initialize a variable that we check immediately upon startup.
  (closes issue https://issues.asterisk.org/view.php?id=15973)
   Reported by: atis
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=221922 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-01 22:09 svnbot         Checkin                                      
2009-10-01 22:09 svnbot         Note Added: 0111782                          
======================================================================




More information about the asterisk-bugs mailing list