Embed URL


SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Disable the oom killer on linux

View Disable the oom killer
1 2 3 4 5
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.