Skip to content
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

Kill a cgroup as a single unit #42

Open
hakavlad opened this issue Jun 29, 2019 · 1 comment
Open

Kill a cgroup as a single unit #42

hakavlad opened this issue Jun 29, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@hakavlad
Copy link
Owner

hakavlad commented Jun 29, 2019

$respect_memory.oom.group = False

@kill_cgroup_v2_group_re  ^/workload\.slice/

@kill_cgroup_v1_group_re  ^/workload\.slice/

@kill_cgroup_v1_group_re  ^/system\.slice/foo\.service$

If the process cgroup matches the specified one, then all processes with the same сgroup will be killed.

@hakavlad hakavlad added the enhancement New feature or request label Jun 29, 2019
@hakavlad
Copy link
Owner Author

cgroup.kill added to Linux 5.14.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant