<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Wed, Jul 25, 2018 at 11:27 AM PICCA Frederic-Emmanuel <<a href="mailto:frederic-emmanuel.picca@synchrotron-soleil.fr">frederic-emmanuel.picca@synchrotron-soleil.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> Funnily enough, there's another discussion going on about this right now:<br>
<br>
> <a href="https://mail.haskell.org/pipermail/haskell-cafe/2018-July/129646.html" rel="noreferrer" target="_blank">https://mail.haskell.org/pipermail/haskell-cafe/2018-July/129646.html</a><br>
<br>
<br>
:))<br>
<br>
> The basic answer is:<br>
<br>
> * You can create a process group and then kill the whole process group<br>
> * But a misbehaving program would still be able to escape it by creating its own process group, only something like cgroups can be fully reliable here<br>
<br>
My server will be managed via systemd, so I hope that it will be able to managed this when restarting.<br>
Is there an haskell API in order to work with cgoups ?<br>
<br></blockquote><div><br></div><div>None that I'm aware of.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Cheers<br>
<br>
Fred<br>
_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org" target="_blank">Beginners@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a><br>
</blockquote></div></div>