Yes. I don't think there is a perfect solution. Only a set of heuristics
such as
- avoid processes that have direct hardware acvcess
- avoid root processes
- avoid daemon processes (uid < 100 or somesuch)
- avoid old processes
- prefer faster-growing processes
- prefer ugly memory-hogs
- ...
I don't know yet what Rik uses as heuristics.
But of course the very first thing you want to do is to make sure that
OOM will not kill your whole system.
Stefan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/