[Pkg-sysvinit-devel] Bug#591854: (no subject)

Paul Nienaber phox at uvic.ca
Thu Aug 5 22:27:26 UTC 2010


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'.





More information about the Pkg-sysvinit-devel mailing list