Ian Downes created MESOS-1178:
---------------------------------

             Summary: Only enable the oom killer if it's not enabled
                 Key: MESOS-1178
                 URL: https://issues.apache.org/jira/browse/MESOS-1178
             Project: Mesos
          Issue Type: Bug
          Components: isolation
    Affects Versions: 0.17.0, 0.18.0
            Reporter: Ian Downes
            Assignee: Ian Downes
            Priority: Minor


When the cgroups memory isolator is used Mesos will always try to enable the 
kernel oom killer by writing 0 to the memory.oom_control file. This will fail 
if memory.use_hierarchy is enabled on a parent cgroup, *even* if the oom killer 
is already enabled.

We should attempt to enable the oom killer only if it is not enabled.

This was observed on a Fedora 20 box which had memory.use_hierarchy enabled.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to