Re: /proc/sys/vm/swappiness == 0 makes OOM killer go beserk

From: Ram Gupta
Date: Fri Jan 13 2006 - 11:31:32 EST


On 1/13/06, Jim MacBaine <jmacbaine@xxxxxxxxx> wrote:
> Hello,
>
> the OOM killer just killed some of my processes while the system still
> had >2.5 GB of free swap. I'm running vanilla 2.6.15 on my desktop.
> The machine is a single Athlon64, 1 GB RAM, 3 GB swap, x86_64 kernel,

This is ok. When the swappiness variable is set to zero kernel does
not try to swap out processes. So once all memory is used up by
processes it can not free up memory by swapping and hence had to kill
process.

Regards
Ram Gupta
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/