[asterisk-bugs] [Asterisk 0011999]: memory leak

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Feb 20 00:38:15 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11999 
====================================================================== 
Reported By:                destiny6628
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11999
Category:                   Core-General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.18 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             02-15-2008 01:20 CST
Last Modified:              02-20-2008 00:38 CST
====================================================================== 
Summary:                    memory leak
Description: 
hi we are using asterisk 1.4.18 , zaptel-1.4.8 and libpri 1.4.3 with 4 e1
card on ibm x3200 server and 90 active calls running on asterisk cli and
after some hours of dialing , swap memory starts getting used and asterisk
gives core dump .

Asterisk is running with safe_asterisk.

vmstat ouput is as follows 

[root at localhost cron]# vmstat
procs -----------memory---------- ---swap-- -----io---- --system--
-----cpu------
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id
wa st
 1  0    568  57308  44708 1848488    0    0    10   119 1293  509  2  2
95  0  0

Free -m is as follows 

[root at localhost cron]# free -m
             total       used       free     shared    buffers     cached
Mem:          2025       1974         51          0         43       1806
-/+ buffers/cache:        124       1901
Swap:         1983          0       1983


OPERATING SYSTEM is centos 5 and kernel version is [root at localhost cron]#
uname -a
Linux localhost.localdomain 2.6.18-8.el5 http://bugs.digium.com/view.php?id=1
SMP Thu Mar 15 19:57:35 EDT
2007 i686 i686 i386 GNU/Linux

Cannot do valgrind test as it put heavy load on the server and its a
production server .

RAM On the server is 2GB .

Only Asterisk application is running on that .



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

---------------------------------------------------------------------- 
 destiny6628 - 02-20-08 00:38  
---------------------------------------------------------------------- 
There is another server as well where we 2 Pri's are terminated on 4 e1
card and got the core dump as well . 


top output is as follows :---

top - 12:09:32 up  3:24,  3 users,  load average: 0.99, 0.71, 0.58
Tasks:  82 total,   1 running,  81 sleeping,   0 stopped,   0 zombie
Cpu(s):  2.2%us,  2.4%sy,  0.0%ni, 94.5%id,  0.6%wa,  0.0%hi,  0.2%si, 
0.0%st
Mem:   2074484k total,  1324180k used,   750304k free,    87108k buffers
Swap:  2031608k total,        0k used,  2031608k free,  1151436k cached

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

free -m as follows :---

[root at localhost tmp]# free -m
             total       used       free     shared    buffers     cached
Mem:          2025       1304        721          0         85       1135
-/+ buffers/cache:         83       1942
Swap:         1983          0       1983

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

[root at localhost tmp]# vmstat
procs -----------memory---------- ---swap-- -----io---- --system--
-----cpu------
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id
wa st
 0  0      0 733448  87320 1167832    0    0    11   149 1374  458  2  3
94  1  0

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


Show memory summary is also attached by the name of show memory summary
1.txt 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-20-08 00:38  destiny6628    Note Added: 0082624                          
======================================================================




More information about the asterisk-bugs mailing list