Skip to content
Create a gist now

Instantly share code, notes, and snippets.

Embed URL


Subversion checkout URL

You can clone with
Download ZIP
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
Something went wrong with that request. Please try again.