> On March 3, 2017, 12:40 a.m., Jiang Yan Xu wrote: > > Did you run into issues without this patch? cgroups::destroy() *should* > > kill all tasks in it.
On my reading of `cgroups::destroy`, processes would only be killed when destroying the `freezer` cgroup, since that is the only one with the `freezer.state` control that would trigger the `internal::Destroyer` to run. The linked bug [MESO-7049](https://issues.apache.org/jira/browse/MESOS-7049) shows test output where the cgroup teardown fails. - James ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/56730/#review167773 ----------------------------------------------------------- On Feb. 15, 2017, 11:26 p.m., James Peach wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/56730/ > ----------------------------------------------------------- > > (Updated Feb. 15, 2017, 11:26 p.m.) > > > Review request for mesos, Mesos Reviewbot and Jiang Yan Xu. > > > Bugs: MESOS-7049 > https://issues.apache.org/jira/browse/MESOS-7049 > > > Repository: mesos > > > Description > ------- > > If a test case fails, it may leave stray tasks in the cgroup which keeps > us from tearing it down when the test completes. Kill any stray tasks > before destroying the cgroup. > > > Diffs > ----- > > src/tests/containerizer/cgroups_tests.cpp > 76fabce4530ccc0a1d685cd48d932ced5a64bc58 > src/tests/mesos.cpp 6a96fa51dfc2a62063c3154b256bdac707b009bb > > > Diff: https://reviews.apache.org/r/56730/diff/1/ > > > Testing > ------- > > sudo make check (Fedora 25) > > > Thanks, > > James Peach > >