Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Disable the oom killer on linux
disable oom-killer
Run as root or add to script - for passenger
for pid in $(pidof PassengerNginxHelperServer) ; do echo "disabling oom on pid $pid"; echo -17 | tee /proc/$pid/oom_adj > /dev/null; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment