El vie., 27 dic. 2019 a las 20:56, Oliver Schad escribió:
>
> Sorry, I have to correct that a bit: you can use the freezer cgroup as
> I did, but there is no guarantee, that you can successfully kill a
> freezed process.
You can't? So the 'kill -9' command in your script might not work
while the cgroup's state is "FROZEN"?
> So you can decide:
>
> 1) race-condition
> 2) unkillallable processes without race-condition
AFAIK systemd does not (and will not?) use the freezer cgroup
controller, so I guess it's 1) in that case :)
*
https://github.com/systemd/systemd/blob/db9c5ae73e23d816e2df2a3e10a9a2a60b5b3ed7/docs/CGROUP_DELEGATION.md#controller-support
G.
Received on Sat Dec 28 2019 - 15:19:30 UTC