Re: [why oom_adj does not work] Re: Linux killed Kenny, bastard!

From: Evgeniy Polyakov
Date: Tue Jan 13 2009 - 16:33:28 EST


On Tue, Jan 13, 2009 at 11:46:14AM -0800, David Rientjes (rientjes@xxxxxxxxxx) wrote:
> Children are already preferred over the chosen parent task, as I've
> explained a few times. When a task is identified for oom kill by the
> badness heuristics, the oom killer attempts to kill a child that does not
> share the same mm first, which is exactly what you're asking for here. If
> the parent shares the mm, it needs to exit as well before memory freeing
> may occur.

I really did not investigate why it happend, but oom'ed machine had
killed cgi daemons and parent process itself. And ssh to the heap.
While it should be enough just to kill appropriate daemon. Apparently
things are not that shine as should be.

--
Evgeniy Polyakov
--
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/