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

bugfix: cgroup v2 /proc/stat cpu count greater then cpu.max #602

Closed
wants to merge 1 commit into from

Conversation

yinhongbo
Copy link

Fix the problem that the number of CPUs displayed in /proc/stat is greater than cpu.max under cgroup v2
For example, in a 2Core container, the value of cpu.max is set to "200000 100000", but the number of CPUs displayed by /proc/stat is still the number of CPUs of the Host

@yinhongbo yinhongbo closed this Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants