Re: [2.4.18] Security: Process-Killer if machine get's out of memory

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sun Mar 24 2002 - 11:57:32 EST


> I've got a basic question:
> Would it be possible to kill only the process which consumes the most
> memory in the last delta t?
> Or does somebody have a better idea?

At the point you hit OOM every possible heuristic is simply handwaving that
will work for a subset of the user base. Fix the real problem and it goes
away. My box doesn't OOM, the worst case (which I've never seen happen) is
a task being killed by a stack growth failing to get memory.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Mar 31 2002 - 22:00:07 EST