[Haskell-beginners] forkProcess behaviour

PICCA Frederic-Emmanuel frederic-emmanuel.picca at synchrotron-soleil.fr
Wed Jul 25 08:26:47 UTC 2018


> Funnily enough, there's another discussion going on about this right now:

> https://mail.haskell.org/pipermail/haskell-cafe/2018-July/129646.html


:))

> The basic answer is:

> * You can create a process group and then kill the whole process group
> * 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

My server will be managed via systemd, so I hope that it will be able to  managed this  when restarting.
Is there an haskell API in order to work with cgoups ?

Cheers

Fred


More information about the Beginners mailing list