<div dir="ltr">cat /proc/cpuinfo lists 4 cores.<div>So even if that's not showing hyperthreading, maximum 8.</div><div>By your rule, that would be 8 cores * 0.5GB = 4GB memory.</div><div>I've seen resident memory be up over 6GB.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Nov 22, 2014 at 1:29 PM, Freddi Hansen <span dir="ltr"><<a href="mailto:fh@danovation.dk" target="_blank">fh@danovation.dk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"><span class="">
<blockquote type="cite"><br>
<div dir="ltr">Its up to 5.8G of resident memory with 28321 calls
processed.
<div>The OOM killer is going to kill this soon at this rate (8GB
RAM machine).</div>
<div>This seems like a pretty serious problem.</div>
<div>It looks like I'll need to restart asterisk every night....</div>
</div>
</blockquote></span>
Hi the number of cpu cores that you see with top times 512Mbyte is
the level of ram that's needed<br>
<br>
e.g. a hp-gen8 with 2 octo core cpu's and hyperthreading enabled
will be ( 2 x 8 x 2 x 0,5 gb ) = 16 gb + a bit exstra.<br>
So from start memory usage increases until it reaches 17.3 gb and
then stabilizes. at that level.<br>
You can disables hypertreading and cut your ram usage to half of
that.<br>
<br>
I can't see what hardware you are using but I think you need to
check that the rule above fits your hardware.<br>
<br>
b.r.<span class="HOEnZb"><font color="#888888"><br>
Freddi</font></span><span class=""><br>
<br>
<br>
<br>
<blockquote type="cite">
<div dir="ltr">
<div><br>
</div>
<div><br>
</div>
</div>
<br>
On Fri, Nov 21, 2014 at 10:53 AM, James Lamanna <span dir="ltr"><<a href="mailto:jlamanna@gmail.com" target="_blank">jlamanna@gmail.com</a>></span>
wrote:<br>
Hi,
<div>I have an Asterisk server that's been running now for around
2 days.</div>
<div>I've noticed that the resident memory seems to be very high
for its current call load:</div>
<div><br>
</div>
<div>
<p> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+
COMMAND 18321 asterisk 20 0
8050m 5.2g 6968 S 13 66.2 363:11.80 asterisk</p>
</div>
<p>$ asterisk -rx "core show channels"</p>
<p>24 active channels</p>
<p>12 active calls</p>
<p>25216 calls processed</p>
<p><br>
</p>
<p>This server has a bunch of IAXModems hooked up to it and is
mainly used as a Fax gateway to hylafax. Is this normal? 5.2Gig
of memory used after 2 days with only 12 currently active calls?</p>
<p>I am not using any realtime peers.</p>
<p>There are 100 registered SIP peers on this server as well.</p>
<p>Thanks.</p>
<span><font color="#888888">
<p>-- James</p>
</font></span></blockquote>
</span></div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a 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 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 href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div>