Re: [PATCH] protect processes from OOM killer

2000-11-07 Thread Frank van Maarseveen
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

Re: [PATCH] protect processes from OOM killer

2000-11-07 Thread Ingo Oeser
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: Please base it upon my OOM-Killer-API patch.

[PATCH] protect processes from OOM killer

2000-11-07 Thread Chris Swiedler
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 The idea is that sysadmins can mark some daemon processes as off-limits for the OOM

[PATCH] protect processes from OOM killer

2000-11-07 Thread Chris Swiedler
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 The idea is that sysadmins can mark some daemon processes as off-limits for the OOM

Re: [PATCH] protect processes from OOM killer

2000-11-07 Thread Frank van Maarseveen
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