<div dir="ltr"><div>It was my mistake to only look at the static result from the free -m command. However, according to munin, sometimes we have some pages swapped out to disk (I guess this is related to the swap-so column in the vmstat result). Of course, it is almost insignificant the size swapped out.<br></div><div><br></div><div>Anyway, just for curiosity and learning purposes: is it expected and desirable to have even few pages swapped out to disk? I always thought that the swap partition or swap file was created to avoid an OOM error in case of physical memory saturation. I have seen even some systems without a swap partition. One example: freedom.</div><div><br></div><div>Thanks and Happy New Year for all! :)</div><div><br></div><div>Best regards,</div><div><br></div><div>Samuel C.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 1, 2016 at 5:21 AM, Bernie Innocenti <span dir="ltr"><<a href="mailto:bernie@codewiz.org" target="_blank">bernie@codewiz.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 01/01/2016 09:20 AM, Bernie Innocenti wrote:<br>
> My guess is that an unusual event occurred in the past (perhaps months<br>
> ago) caused the system to swap out a lot of stuff.<br>
><br>
> After the errant process got OOM-killed, some of the memory got swapped<br>
> back in, leaving in swap just the pages that were not referenced ever since.<br>
><br>
> There should be a munin graph showing swap I/O... and if it stays flat,<br>
> we're good.<br>
<br>
</span>The big swap event was in mid-July:<br>
<br>
<a href="http://munin.sugarlabs.org/static/dynazoom.html?cgiurl_graph=/munin-cgi/munin-cgi-graph&plugin_name=sugarlabs.org/sunjammer.sugarlabs.org/swap&size_x=800&size_y=400&start_epoch=1417076284&stop_epoch=1451636284" rel="noreferrer" target="_blank">http://munin.sugarlabs.org/static/dynazoom.html?cgiurl_graph=/munin-cgi/munin-cgi-graph&plugin_name=sugarlabs.org/sunjammer.sugarlabs.org/swap&size_x=800&size_y=400&start_epoch=1417076284&stop_epoch=1451636284</a><br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
_ // Bernie Innocenti<br>
\X/ <a href="http://codewiz.org" rel="noreferrer" target="_blank">http://codewiz.org</a><br>
</div></div></blockquote></div><br></div>