diff --git a/cgroups/cgroups.go b/cgroups/cgroups.go index 96002f0..e260d67 100644 --- a/cgroups/cgroups.go +++ b/cgroups/cgroups.go @@ -132,7 +132,7 @@ func (c *Cgroup) Apply(pid int) error { // http://www.freedesktop.org/wiki/Software/systemd/PaxControlGroups/ // // we can pick any subsystem to find the root - cgroupRoot, err := FindCgroupMountpoint("memory") + cgroupRoot, err := FindCgroupMountpoint("cpu") if err != nil { return err }