<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#ffffff">
<font face="Helvetica, Arial, sans-serif">Hello,<br>
<br>
I notice that at the end of the day, after about 4000 calls have
passed my Asterisk-system, that the use of memory is very high and
stays that way untill a restart of Asterisk or a reboot of the
server.<br>
<br>
This is the situation at the end of the day :<br>
<br>
[root@sp asterisk]# free -m<br>
total used free shared buffers
cached<br>
Mem: 3923 1931 1992 0
268 1308<br>
-/+ buffers/cache: 353 3569<br>
Swap: 4031 0 4031<br>
<br>
So total of 3923</font><font face="Helvetica, Arial, sans-serif">
MB</font><font face="Helvetica, Arial, sans-serif">, where 1992</font><font
face="Helvetica, Arial, sans-serif"> MB</font><font
face="Helvetica, Arial, sans-serif"> is used and 1931</font><font
face="Helvetica, Arial, sans-serif"> MB</font><font
face="Helvetica, Arial, sans-serif"> still free.<br>
<br>
This memory never decreases and increases with every call that
passes my Asterisk system. After some more calls :<br>
<br>
[root@sp asterisk]# free -m<br>
total used free shared buffers
cached<br>
Mem: 3923 1934 1989 0
270 1309<br>
-/+ buffers/cache: 353 3569<br>
Swap: 4031 0 4031<br>
<br>
</font><font face="Helvetica, Arial, sans-serif"> So total of 3923</font><font
face="Helvetica, Arial, sans-serif"> MB</font><font
face="Helvetica, Arial, sans-serif">, where 1934</font><font
face="Helvetica, Arial, sans-serif"> MB</font><font
face="Helvetica, Arial, sans-serif"> is used and 1989</font><font
face="Helvetica, Arial, sans-serif"> MB</font><font
face="Helvetica, Arial, sans-serif"> still free.</font><font
face="Helvetica, Arial, sans-serif"><br>
<br>
As I said, only a restart of Asterisk or reboot of the server can
decrease this value :<br>
<br>
[root@sp asterisk]# free -m<br>
total used free shared buffers
cached<br>
Mem: 3923 974 2948 0
150 524<br>
-/+ buffers/cache: 299 3624<br>
Swap: 4031 0 4031<br>
<br>
So total of 3923 MB, where 974 MB is used and 2948 MB still free.<br>
<br>
<br>
So why does this memory usage only decrease with a restart ? What
keeps asterisk stored in the RAM-memory ? Even if there are 0
calls, the memory does not decrease.<br>
<br>
<br>
<br>
Kind regards,<br>
Jonas<br>
<br>
</font>
</body>
</html>