Re: tmpfs and the OOM killer

From: Pedro
Date: Thu Apr 12 2007 - 01:41:28 EST


On Thursday 12 April 2007 02:04, Al Boldi wrote:
> > Pedro wrote:
> > 2) How should an application be written to not be killed by OOM?
>
> Try this:
>
> # echo -17 > /proc/<pid>/oom_adj

I should know that to run a fail-safe application is a superuser privilege.

Sorry from wasting your time.
-
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/