<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
<font face="Helvetica, Arial, sans-serif">Nope, no swapping...<br>
<br>
Thanks.<br>
Jonas.<br>
<br>
</font><br>
On 03/08/2012 09:44 AM, [Digital^Dude] ® wrote:
<blockquote
cite="mid:CAArAGKm83A4q6yziwWgK+3fBzT1dyUQj_+UgAsH+ZCp8pc07_Q@mail.gmail.com"
type="cite"><font face="trebuchet ms,sans-serif">AFAIK:<br>
Linux has a tendency to keep RAM filled up with any recently
accessed progarm. To keep programs access fast enough, it never
removes something from the memory, only replaces it, in case
some program has more frequent access than the one already
present in ram.<br>
<br>
If your server isn't swapping.. things are okay.<br>
</font><br>
<div class="gmail_quote">On Thu, Mar 8, 2012 at 1:15 PM, Jonas
Kellens <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:jonas.kellens@telenet.be">jonas.kellens@telenet.be</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div 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>
<font color="#888888"> Jonas<br>
<br>
</font></font> </div>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a
moz-do-not-send="true" href="http://www.api-digital.com"
target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every
Thurs:<br>
<a moz-do-not-send="true"
href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a moz-do-not-send="true"
href="http://lists.digium.com/mailman/listinfo/asterisk-users"
target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote>
</div>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --
New to Asterisk? Join us for a live introductory webinar every Thurs:
<a class="moz-txt-link-freetext" href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a>
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></pre>
</blockquote>
</body>
</html>