[jira] [Issue Comment Deleted] (MESOS-6414) cgroups isolator cleanup failed when the hierarchy is cleanup by docker daemon

2016-10-21 Thread Yan Xu (JIRA)

 [ 
https://issues.apache.org/jira/browse/MESOS-6414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yan Xu updated MESOS-6414:
--
Comment: was deleted

(was: Agreed that we shouldn't allow other processes to interfere with the 
cgroups created by Mesos. The case involved here is indeed "the task 
manipulates its own nested cgroup". However it's not the task process itself 
that does it; sometimes it's a daemon on the host (e.g., Docker) that does it, 
so you can't kill it because it's not in the container.)

> cgroups isolator cleanup failed when the hierarchy is cleanup by docker 
> daemon 
> ---
>
> Key: MESOS-6414
> URL: https://issues.apache.org/jira/browse/MESOS-6414
> Project: Mesos
>  Issue Type: Bug
>  Components: cgroups
>Reporter: Anindya Sinha
>Assignee: Anindya Sinha
>Priority: Minor
>  Labels: containerizer
> Fix For: 1.2.0
>
>
> Now if we launch a docker container in Mesos containerizer, the racing may 
> happen
> between docker daemon and Mesos containerizer during cgroups operations.
> For example, when the docker container which run in Mesos containerizer OOM 
> exit,
> Mesos containerizer would destroy following hierarchies
> {code}
> /sys/fs/cgroup/freezer/mesos//
> /sys/fs/cgroup/freezer/mesos/
> {code}
> But the docker daemon may destroy 
> {code}
> /sys/fs/cgroup/freezer/mesos//
> {code}
> at the same time.
> If the docker daemon destroy the hierarchy first, then the Mesos 
> containerizer would
> failed during {{CgroupsIsolatorProcess::cleanup}} because it could not find 
> that hierarchy
> when destroying.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Issue Comment Deleted] (MESOS-6414) cgroups isolator cleanup failed when the hierarchy is cleanup by docker daemon

2016-10-19 Thread Anindya Sinha (JIRA)

 [ 
https://issues.apache.org/jira/browse/MESOS-6414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anindya Sinha updated MESOS-6414:
-
Comment: was deleted

(was: RR published for review:
https://reviews.apache.org/r/53031/)

> cgroups isolator cleanup failed when the hierarchy is cleanup by docker 
> daemon 
> ---
>
> Key: MESOS-6414
> URL: https://issues.apache.org/jira/browse/MESOS-6414
> Project: Mesos
>  Issue Type: Bug
>  Components: cgroups
>Reporter: Anindya Sinha
>Assignee: Anindya Sinha
>Priority: Minor
>  Labels: containerizer
>
> Now if we launch a docker container in Mesos containerizer, the racing may 
> happen
> between docker daemon and Mesos containerizer during cgroups operations.
> For example, when the docker container which run in Mesos containerizer OOM 
> exit,
> Mesos containerizer would destroy following hierarchies
> {code}
> /sys/fs/cgroup/freezer/mesos//
> /sys/fs/cgroup/freezer/mesos/
> {code}
> But the docker daemon may destroy 
> {code}
> /sys/fs/cgroup/freezer/mesos//
> {code}
> at the same time.
> If the docker daemon destroy the hierarchy first, then the Mesos 
> containerizer would
> failed during {{CgroupsIsolatorProcess::cleanup}} because it could not find 
> that hierarchy
> when destroying.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)