Depending on its use, the first thing I generally do on a new server is disable the OOM killer.
At runtime: sysctl vm.overcommit_memory=2
To make it persist, just add vm.overcommit_memory=2 to /etc/sysctl.conf
At runtime: sysctl vm.overcommit_memory=2
To make it persist, just add vm.overcommit_memory=2 to /etc/sysctl.conf
For instance, if you run a Redis server and turn off memory overcommit, you might not be able to background save.