Yan Xu created MESOS-7915: ----------------------------- Summary: cgroups::internal::Destroyer should not destroy nested cgroups in parallel. Key: MESOS-7915 URL: https://issues.apache.org/jira/browse/MESOS-7915 Project: Mesos Issue Type: Bug Components: cgroups Reporter: Yan Xu
Currently the destroyer would attempt to [kill processes in a cgroup tree in parallel|https://github.com/apache/mesos/blob/09b1625b5d83d6ade747b2cf0948c085a75f77c8/src/linux/cgroups.cpp#L1658-L1665]. However it could result in two threads trying to freeze and thaw a parent and a child cgroup concurrently and repeatedly and it's possible that neither would make progress so it will lead to the containerizer not able to destroy the container within a timeout, after which point the agent/containerizer just gave up, leaving the (partially) frozen container holding system resources (e.g., ports). -- This message was sent by Atlassian JIRA (v6.4.14#64029)