User Tools

Site Tools


memory:disable_the_oom_killer

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
memory:disable_the_oom_killer [2016/07/12 15:18] – created petermemory:disable_the_oom_killer [2019/11/30 14:08] (current) – removed peter
Line 1: Line 1:
-====== 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. 
- 
-<code bash> 
-sysctl vm.overcommit_memory=2 
-echo "vm.overcommit_memory=2" >> /etc/sysctl.conf 
-</code> 
- 
  
memory/disable_the_oom_killer.1468336719.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki