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

From: Evgeniy Polyakov
Date: Tue Jan 13 2009 - 17:05:54 EST


On Tue, Jan 13, 2009 at 01:39:01PM -0800, David Rientjes (rientjes@xxxxxxxxxx) 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.

There is no ssh there, I can not do any diagnostics. I first have to
change oom score for the ssh, but that's a different story.

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