mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yan Xu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MESOS-7915) cgroups::internal::Destroyer should not destroy nested cgroups in parallel.
Date Thu, 24 Aug 2017 22:55:01 GMT
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)

Mime
View raw message