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

From: David Rientjes
Date: Tue Jan 13 2009 - 16:41:22 EST


On Wed, 14 Jan 2009, Evgeniy Polyakov wrote:

> 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.
>

As previously mentioned, you have all the diagnostic tools at your
disposal already:

echo 1 > /proc/sys/vm/oom_dump_tasks

The badness scoring is straight-forward given that information, so you can
diagnose why a specific task was not killed and another was chosen. You
can also use that information to appropriately tune the oom_adj scores to
identify your oom killer target preferences.
--
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/