Results 49 comments of Devon Schwartz

There are also some paths that are implemented for cgroup that do not have an equivalent for cgroup2. Is there another resource with the mapping from the cgroup paths to...

We're missing the equivalent for memory.usage_in_bytes memory.limit_in_bytes memory.kmem.usage_in_bytes memory.kmem.limit_in_bytes blkio.throttle.io_serviced

We also don't have equivalents for **cpuacct.stat.** Does this have an equivalent?

When we run containers locally we now get the following output: lxc-start: u1: ../src/lxc/lxccontainer.c: wait_on_daemonized_start: 837 Received container state "ABORTING" instead of "RUNNING" lxc-start: u1: ../src/lxc/tools/lxc_start.c: lxc_start_main: 307 The container...

> For `cpuacct.usage`, if you look at the file I referred to earlier, you'll see that you can use `cpu.stat`. > > https://github.com/lxc/incus/blob/main/internal/server/cgroup/abstraction.go#L259 Does that also work for cgroup path...

Sounds good. I'll add a case for the cgroup2 equivalent for cpuacct.stat.

I am working with anooprac I think that the solution could be to use the macros created for lxcfs_release() instead of the strcmp method.

Is it still useful to update the repo to use the macros instead of strcmp for the paths?

> > Is it still useful to update the repo to use the macros instead of strcmp for the paths? > > I think it is. It also makes sense...

I made a mistake linking that issue. I meant to link this issue instead. I will go ahead and fix that. Sorry for the confusion.