<p>On Oct 29, 2011 4:58 PM, "Tom Gundersen" <<a href="mailto:tomegun@archlinux.org">tomegun@archlinux.org</a>> wrote:<br>
><br>
>    In principle, I'm worried that, with the right ammonut of bad luck,<br>
>    we could fork off some process at exactly the wrong time which escapes<br>
>    the killall logic.<br>
><br>
>    This, by the way, highlights the frailty of the killall stuff.</p>
<p> Why not make use of the `name` cgroup in same way systemd does?  Then you can simply:</p>
<p>kill $(</path/to/cgroup/tasks)</p>
<p>... in a loop for a couple iterations as needed.</p>
<p>C Anthony</p>