Re: Linux machines dieing in swap storms

From: Rik van Riel
Date: Thu Oct 25 2007 - 14:35:32 EST


On Thu, 25 Oct 2007 16:20:41 +0100
Richard Purdie <rpurdie@xxxxxxxxx> wrote:

> Advice on solving this welcome preferably in mainline but I'll happily
> hack my kernels with a workaround if need be.

I can't see any easy hacks or workarounds to fix the issue in the
current MM, except maybe activate the OOM killer if the amount of
page cache and buffer cache is really low and swap is full...

In the longer run, I'm working on:

http://linux-mm.org/PageReplacementDesign

--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan
-
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/