View Issue Details

IDProjectCategoryView StatusLast Update
0002740Rocky-Linux-9kernelpublic2023-03-23 09:05
Reportermichal michal Assigned To 
Status newResolutionopen 
Platformx86_64OSRocky LinuxOS Version9
Summary0002740: cgroups v2 io.max not applied from parent folder
Descriptionio.max cgroup v2 limit seems to be applied only from the lowest level of cgroup configuration.

We have the following structur for a process:

$ cat /proc/9439/cgroup

Setting io.max limit in dir1, dir2 or dir3 has no effect.

Such as this config has no effect:
echo "253:0 rbps=50971520" > /sys/fs/cgroup/dir1/dir2/dir3/io.max

However setting the limit in dir4 properly works:
echo "253:0 rbps=50971520" > /sys/fs/cgroup/dir1/dir2/dir3/dir4/io.max

$ cat /sys/fs/cgroup/dir1/dir2/dir3/dir4/cgroup.controllers
cpuset cpu io memory hugetlb pids rdma misc

Additional Informationuname -a
Linux hostname 5.14.0-162.18.1.el9_1.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Mar 1 22:02:24 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2023-03-23 09:04 michal michal New Issue
2023-03-23 09:04 michal michal Tag Attached: kernel