-
Notifications
You must be signed in to change notification settings - Fork 536
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
setting pids.max failed with cgroups v2 #3085
Comments
Cytrian
pushed a commit
to Cytrian/ceph-csi
that referenced
this issue
May 5, 2022
With cgroup v2, the location of the pids.max file changed and so did the /proc/self/cgroup file new /proc/self/cgroup file ` 0::/user.slice/user-500.slice/session-14.scope ` old file: ` 11:pids:/user.slice/user-500.slice/session-2.scope 10:blkio:/user.slice 9:net_cls,net_prio:/ 8:perf_event:/ ... ` There is no directory per subsystem (e.g. /sys/fs/cgroup/pids) any more, all files are now in one directory. fixes: ceph#3085
Cytrian
pushed a commit
to Cytrian/ceph-csi
that referenced
this issue
May 5, 2022
With cgroup v2, the location of the pids.max file changed and so did the /proc/self/cgroup file new /proc/self/cgroup file ` 0::/user.slice/user-500.slice/session-14.scope ` old file: ` 11:pids:/user.slice/user-500.slice/session-2.scope 10:blkio:/user.slice 9:net_cls,net_prio:/ 8:perf_event:/ ... ` There is no directory per subsystem (e.g. /sys/fs/cgroup/pids) any more, all files are now in one directory. fixes: ceph#3085 Signed-off-by: Marcus Röder <m.roeder@yieldlab.de>
Cytrian
pushed a commit
to Cytrian/ceph-csi
that referenced
this issue
May 5, 2022
With cgroup v2, the location of the pids.max file changed and so did the /proc/self/cgroup file new /proc/self/cgroup file ` 0::/user.slice/user-500.slice/session-14.scope ` old file: ` 11:pids:/user.slice/user-500.slice/session-2.scope 10:blkio:/user.slice 9:net_cls,net_prio:/ 8:perf_event:/ ... ` There is no directory per subsystem (e.g. /sys/fs/cgroup/pids) any more, all files are now in one directory. fixes: ceph#3085 Signed-off-by: Marcus Röder <m.roeder@yieldlab.de>
ceph-csi-bot
pushed a commit
to Cytrian/ceph-csi
that referenced
this issue
May 7, 2022
With cgroup v2, the location of the pids.max file changed and so did the /proc/self/cgroup file new /proc/self/cgroup file ` 0::/user.slice/user-500.slice/session-14.scope ` old file: ` 11:pids:/user.slice/user-500.slice/session-2.scope 10:blkio:/user.slice 9:net_cls,net_prio:/ 8:perf_event:/ ... ` There is no directory per subsystem (e.g. /sys/fs/cgroup/pids) any more, all files are now in one directory. fixes: ceph#3085 Signed-off-by: Marcus Röder <m.roeder@yieldlab.de>
mergify bot
pushed a commit
that referenced
this issue
May 7, 2022
With cgroup v2, the location of the pids.max file changed and so did the /proc/self/cgroup file new /proc/self/cgroup file ` 0::/user.slice/user-500.slice/session-14.scope ` old file: ` 11:pids:/user.slice/user-500.slice/session-2.scope 10:blkio:/user.slice 9:net_cls,net_prio:/ 8:perf_event:/ ... ` There is no directory per subsystem (e.g. /sys/fs/cgroup/pids) any more, all files are now in one directory. fixes: #3085 Signed-off-by: Marcus Röder <m.roeder@yieldlab.de>
humblec
pushed a commit
to humblec/ceph-csi
that referenced
this issue
May 9, 2022
With cgroup v2, the location of the pids.max file changed and so did the /proc/self/cgroup file new /proc/self/cgroup file ` 0::/user.slice/user-500.slice/session-14.scope ` old file: ` 11:pids:/user.slice/user-500.slice/session-2.scope 10:blkio:/user.slice 9:net_cls,net_prio:/ 8:perf_event:/ ... ` There is no directory per subsystem (e.g. /sys/fs/cgroup/pids) any more, all files are now in one directory. fixes: ceph#3085 Signed-off-by: Marcus Röder <m.roeder@yieldlab.de>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just had a similar error when setting up a K8s on a newer Flatcar server, because that one now uses
the cgroupv2 layout.
So,
ceph-csi/internal/util/pidlimit.go
Line 39 in 1bd6297
/sys/fs/cgroup/pids
any more.It's now
/sys/fs/cgroup + *.scope + /pids.max
Originally posted by @Cytrian in #3076 (comment)
The text was updated successfully, but these errors were encountered: