-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make use of cgroup.kill #3135
Comments
So, now we have this: runc/libcontainer/state_linux.go Lines 40 to 47 in b114862
and this: Lines 18 to 27 in b114862
and it would be nice to use |
This is a relatively new addition and might not be available for older kernels: https://lwn.net/Articles/855924/ |
Cgroup v2Kernel 5.14+ implementscgroup.kill
which does the same thing that we try to do insignalAllProcesses
runc/libcontainer/init_linux.go
Line 499 in 8772c4d
but in the kernel and reliably.
Since we're using
signalAllProcesses
mostly to send SIGKILL to container (with the exception ofrunc kill --all
), this needs to be moved to cgroup managers to benefit from the new feature.The text was updated successfully, but these errors were encountered: