The values visible in and settable by /proc/*/oom_adj determine how vulnerable processes are to being OOM-killed. Accordingly, init's should be set to -17, the "safest" possible value. init getting OOM-killed results in the system either hanging or rebooting, which is very bad. The package 'watchdog' likely contains a decent example of how/where this would normally be done in Debian, although init itself does not have an init script so I'm not really sure what the "standard" practice here would be. Obviously the thing to be changed here is the value in /proc/1/oom_adj, which is currently left at '0'.


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to