0

According to the Linux kernel documentation for the cgroupv1 memory resource controller, you can enable or disable the OOM-Killer for a non-root cgroup by running

echo 1 > PATH_TO_CGROUP/memory.oom_control

How do I get the under_oom field of that file to be enabled for the cgroup? Running the above command only sets the first field in the memory.oom_control file. And if this flag isn't something that can be enabled or disabled by running a shell command, how does the system decide when to enable or disable it?

Thanks in advance,

James Pedersen

user2279952
  • 121
  • 4

0 Answers0