[
https://issues.apache.org/jira/browse/MESOS-6414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15589302#comment-15589302
]
Gilbert Song commented on MESOS-6414:
-------------------------------------
[~anindya.sinha], would you mind providing more context about why you want a
mesos task launched in a cgroup which is not created by mesos? The
LinuxLauncher::destroy() would clean up all cgroups which are created by
fork(). It assumes all cgroups under the freezerhierachy are previously created
by Mesos.
Or as [[email protected]] mentioned, are you asking for cgroup namespace
support?
> Task cleanup fails when the containers includes cgroups not owned by Mesos
> --------------------------------------------------------------------------
>
> 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
>
> If a mesos task is launched in a cgroup outside of the context of Mesos,
> Mesos is unaware of that cgroup created in the task context.
> Now when the Mesos task terminates: Mesos tries to cleanup all cgroups within
> the top level cgroup it knows about. If the cgroup created in the task
> context exists when LinuxLauncherProcess::destroy() is called but is
> eventually cleaned up by the container before we do a freeze() or thaw() or
> remove(), it fails at those stages leading to an incomplete cleanup of the
> container.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)