Messages in this thread |  | | Date | Tue, 7 Nov 2000 22:44:33 +0100 | From | Frank van Maarseveen <> | Subject | Re: [PATCH] protect processes from OOM killer |
| |
On Tue, Nov 07, 2000 at 11:19:37AM -0500, Chris Swiedler wrote: > Here's a small patch to allow a user to protect certain PIDs from death- > by-OOM-killer. It uses the proc entry '/proc/sys/vm/oom_protect'; echo the > PIDs to be protected: > > echo 1 516 > /proc/sys/vm/oom_protect Hmm, I'd prefer "echo 1 >/proc/516/oom_protect". Guess that's out of the question because only /proc/sys should be used for setting parameters?
Then maybe /proc/sys/proc should be populated so we can do "echo 1 >/proc/sys/proc/516/oom_protect".
-- Frank - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |