memory:disable_the_oom_killer
This is an old revision of the document!
Memory - Disable the OOM Killer
The Out of Memory (OOM) killer can be completely disabled with the following command.
WARNING: This is not recommended for production environments, because if an out-of-memory condition does present itself, there could be unexpected behavior depending on the available system resources and configuration. This unexpected behavior could be anything from a kernel panic to a hang depending on the resources available to the kernel at the time of the OOM condition.
sysctl vm.overcommit_memory=2 echo "vm.overcommit_memory=2" >> /etc/sysctl.conf
memory/disable_the_oom_killer.1468336719.txt.gz ยท Last modified: 2020/07/15 09:30 (external edit)