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

cgroupsv2 adjustments proposal #14

Open
x7upLime opened this issue Jan 15, 2023 · 2 comments
Open

cgroupsv2 adjustments proposal #14

x7upLime opened this issue Jan 15, 2023 · 2 comments

Comments

@x7upLime
Copy link

This proof of concept and related talks helped me getting a grasp about container internals, to then be able to solve some other related issues.. and in a really entertaining way also.
Really fine material, thank you :)

As for now, I'm not able to compile main.go,
the main issue being a "no such file" when talking about pids.max
Just learned about cgroups and if I'm not wrong the reason is that the example was built for cgroupsv1
and the linux distro I'm running (as the major ones are) is using cgroupsv2 by default,
so I'd like to propose the changes I made to make it work.
It didn't took much to catch up with cgroups and differences between version,
it was an instructive activity actually.. but for the one that is in a hurry...

@kyzyc
Copy link

kyzyc commented Dec 27, 2023

same with you, cannot create file /sys/fs/cgroup/pids/liz/pids.max even as root user.

@netskink
Copy link

Take a look at the comments I added to x7uplime's pull request. I mounted the sysfs file system, but didn't find the file system writable.

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

No branches or pull requests

3 participants