<div dir="ltr">On 3 August 2013 05:13, Christofer C. Bell <span dir="ltr"><<a href="mailto:christofer.c.bell@gmail.com" target="_blank">christofer.c.bell@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="im">On Fri, Aug 2, 2013 at 1:24 PM, Liam Proven <span dir="ltr"><<a href="mailto:lproven@gmail.com" target="_blank">lproven@gmail.com</a>></span> wrote:<br>
</div><div class="gmail_extra"><div class="gmail_quote"><div class="im">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On 2 August 2013 19:14, Mauro Sanna <<a href="mailto:mrsanna1@gmail.com" target="_blank">mrsanna1@gmail.com</a>> wrote:<br>
> You don't use swap on servers too?<br>
<br>
</div>It's a fileserver. Just a fileserver. With 3GB of RAM, it doesn't /need/ swap.<br>
<br>
Just for an easy life, I have the full Unity desktop on there, too. It<br>
idles at under 500MB of usage. In other words, full loaded, it uses<br>
about one-sixth of its memory: the rest is disk cache.<br>
<br>
Who needs swap any more?<br clear="all"></blockquote><div><br></div></div><div>While it may work for you, a blanket recommendation to have no swap should be avoided. Please look into how Linux handles memory allocations (specifically look into vm.overcommit_memory and vm.overcommit_ratio). For modern Linux systems with large amounts of RAM, a good rule of thumb is to have 2GB of swap.</div>
</div></div></div></blockquote><div><br></div><div>2G of swap?</div><div>If I have a large amount of ram why do I need so much swap?</div></div></div></div>