OOM Killer for LVE Processes

Navigation:  Kernel Settings >

OOM Killer for LVE Processes

Previous pageReturn to chapter overviewNext page

When LVE reaches its memory limit, the processes inside that LVE are killed by OOM Killer and appropriate message is written to /var/log/messages. When any LVE hits huge number of memory limits in short period of time, then OOM Killer could cause system overload. Starting from kernel 2.6.32-673.26.1.lve1.4.15 (CloudLinux 6) and from kernel 3.10.0-427.18.2.lve1.4.14 (CloudLinux 7) heavy OOM Killer could be disabled. If so - lightweight SIGKILL will be used instead.

 

By default OOM Killer is enabled, to disable it please run:

 

For CloudLinux 6:

 

# echo 1 > /proc/sys/ubc/ubc_oom_disable

 

Also, add the following to /etc/sysctl.conf file to apply the same during boot:

 

ubc.ubc_oom_disable=1

 

For CloudLinux 7:

 

# echo 1 > /proc/sys/kernel/memcg_oom_disable

 

Also, add the following to /etc/sysctl.conf file to apply the same during boot:

 

kernel.memcg_oom_disable=1