forked from levex/cgroups-rs
-
Notifications
You must be signed in to change notification settings - Fork 50
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
cgroup2: Support cgroup.kill #98
Labels
Comments
dcantah
added a commit
to dcantah/cgroups-rs
that referenced
this issue
Jan 8, 2023
Fixes: kata-containers#98 Add a Kill method for cgroups v2. This uses the new functionality in kernels 5.14+ where writing to a cgroup.kill file will send a SIGKILL to every process running in the cgroup. This would be useful for kata to avoid freezing+manually sending SIGKILL+thawing process it does currently to emulate runc's behavior. Signed-off-by: Danny Canter <danny@dcantah.dev>
Merged
dcantah
added a commit
to dcantah/cgroups-rs
that referenced
this issue
Jan 9, 2023
Fixes: kata-containers#98 Add a Kill method for cgroups v2. This uses the new functionality in kernels 5.14+ where writing to a cgroup.kill file will send a SIGKILL to every process running in the cgroup. This would be useful for kata to avoid freezing+manually sending SIGKILL+thawing process it does currently to emulate runc's behavior. Signed-off-by: Danny Canter <danny@dcantah.dev>
dcantah
added a commit
to dcantah/cgroups-rs
that referenced
this issue
Jan 10, 2023
Fixes: kata-containers#98 Add a Kill method for cgroups v2. This uses the new functionality in kernels 5.14+ where writing to a cgroup.kill file will send a SIGKILL to every process running in the cgroup. This would be useful for kata to avoid freezing+manually sending SIGKILL+thawing process it does currently to emulate runc's behavior. Signed-off-by: Danny Canter <danny@dcantah.dev>
Tim-Zhang
added a commit
to Tim-Zhang/cgroups-rs
that referenced
this issue
Jan 11, 2023
To include patches kata-containers#91, kata-containers#94, kata-containers#98, kata-containers#99 Signed-off-by: Tim Zhang <tim@hyper.sh>
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In 5.14+ there exists a cgroup.kill that will send a SIGKILL to every process in the tree if written to (with a "1"). This would be useful for kata to avoid the freezing -> manually sending SIGKILL -> thawing process it does currently (same thing runc does at the moment).
The text was updated successfully, but these errors were encountered: