For some cgroup control files, if only that file is listed in rc_cgroup_XXX, then openrc doesn't create a cgroup for the service under controller XXX. There are a couple of items that I've noticed this happens with: 1. In the memory cgroup: a. memory.move_charge_at_immigrate b. memory.use_heirarchy 2. In the blkio cgroup: a. blkio.reset_stats The ones in the memory cgroup probably aren't significant, as they really are (mostly) useless without setting any of the limits. For the blkio cgroup however, this significantly hinders my use-case for that particular cgroup; namely, it makes it impossible to use the cgroup to collect statistics without setting some limit (which in turn will almost always slow down the system).
On further investigation, OpenRC appears to be completely ignoring any configuration WRT the blkio cgroup controller on my systems, I'm going to investigate that further and probably open a separate bug for it. Also, it appears that the files mentioned in the memory cgroup are being completely ignored by OpenRC on my systems, regardless of whether there is any other configuration for the memory controller.
Hi Austin, can you check this with openrc-0.18.1, which is about to be released, and let me know if you still have this issue? Thanks much, William
Now that #555626 is fixed, I should be able to double check that this is still an issue in openrc-0.18 for the blkio controller. Regardless of that, I'll attempt to test openrc-0.18.1 within the next day or two and let you know whether it's fixed or not.
I just tested this on openrc-0.18, and both the blkio and memory controllers appear to be working correctly, so I'm going to mark this as resolved.