
25 Jul
2018
25 Jul
'18
4:26 a.m.
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