-
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
runc update error when there is a nested cpuset cgroup #1635
Comments
Is there any update about this issue? |
Hey, any update on this issue? |
askervin
pushed a commit
to askervin/runc
that referenced
this issue
Aug 30, 2021
cpuset cgroup form a nested hierarchy visible in a virtual file system, and child cpusets must contain a subset of the parents CPU and Memory resources. When root user get permission to make nested cpuset cgroup, this patch will allow update operation in this case. Fixes: opencontainers#1635 Signed-off-by: Ace-Tang <[email protected]>
askervin
pushed a commit
to askervin/runc
that referenced
this issue
Aug 30, 2021
cpuset cgroup form a nested hierarchy visible in a virtual file system, and child cpusets must contain a subset of the parents CPU and Memory resources. When root user get permission to make nested cpuset cgroup, this patch will allow update operation in this case. Fixes: opencontainers#1635 Signed-off-by: Ace-Tang <[email protected]>
askervin
pushed a commit
to askervin/runc
that referenced
this issue
Aug 30, 2021
cpuset cgroup form a nested hierarchy visible in a virtual file system, and child cpusets must contain a subset of the parents CPU and Memory resources. When root user get permission to make nested cpuset cgroup, this patch will allow update operation in this case. Fixes: opencontainers#1635 Signed-off-by: Ace-Tang <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I try this command
runc --root /run/containerd/runc/default/ update --cpuset-cpus "0,1" docker2
, and get errorthis is because a nested cpuset cgroup existed, cause child cpusets must contain a subset of the parents CPU and Memory resources, so we cannot simply change the data in parent cgroup file.
this case occurs in a real business scene. here is my test environment, docker2 is a container cpuset cgroup, t1, t2, l1, l2, c3 is a nested cpuset cgroup.
The text was updated successfully, but these errors were encountered: