----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/20818/#review42216 -----------------------------------------------------------
src/linux/cgroups.cpp <https://reviews.apache.org/r/20818/#comment75993> IIRC, we added SIGSTOP and SIGKILL before freeze because the earlier freeze, kill, thaw sequence didn't always work. Have the semantics changed so that this is guaranteed to work? src/linux/cgroups.cpp <https://reviews.apache.org/r/20818/#comment75994> kill the log. return Failure("Failed to reap process(s) within timeout"); src/linux/cgroups.cpp <https://reviews.apache.org/r/20818/#comment75996> return Failure("Failed to reap process(s) within timeout"); src/linux/cgroups.cpp <https://reviews.apache.org/r/20818/#comment75999> can you include the error? src/linux/cgroups.cpp <https://reviews.apache.org/r/20818/#comment76000> How come we are not doing retires anymore? - Vinod Kone On May 5, 2014, 8:16 p.m., Ian Downes wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/20818/ > ----------------------------------------------------------- > > (Updated May 5, 2014, 8:16 p.m.) > > > Review request for mesos, Benjamin Hindman, Ben Mahler, Chi Zhang, Jie Yu, > and Vinod Kone. > > > Bugs: MESOS-759 and MESOS-976 > https://issues.apache.org/jira/browse/MESOS-759 > https://issues.apache.org/jira/browse/MESOS-976 > > > Repository: mesos-git > > > Description > ------- > > internal::Destroyer now uses a single pass of freeze, kill, thaw, reap > to kill all processes in a freezer cgroup. cgroups::destroy will not > complete until all processes have been reaped. A timeout is used for > each step so destroy will eventually fail rather than constantly > retrying. > > Added a test for destroying a freezer cgroup containing a stopped > process. > > > Diffs > ----- > > src/linux/cgroups.hpp 5a5735721fb9f051eee661edb08d1cdaa163d0f3 > src/linux/cgroups.cpp 8202c282f580d027a60ded2081962e96e4860f60 > src/slave/containerizer/isolators/cgroups/cpushare.cpp > b494a9236210245383e20fa9ab3dbac01e42f8dd > src/slave/containerizer/linux_launcher.cpp > 530e0bd64d71bad761a2eab3d6e2f2179a167b4b > src/tests/cgroups_tests.cpp 6ba9de622953e158feadaa9950618b0b13c9e832 > > Diff: https://reviews.apache.org/r/20818/diff/ > > > Testing > ------- > > make check # Linux > > > Thanks, > > Ian Downes > >