There are at least two problems in cgclear. One is that it bails if
moving a task to root cgroup returns 'no such process'. But of course
that's just a race condition (task has exited) which should be ignored.
When that is fixed I have also seen:
rmdir("/sys/fs/cgroup/memory/./sysdefault/") = -1 EBUSY (Device or resource busy)
Which is absolutely wrong. sysdefault is a directory and can't be
umounted. I have not yet found the root cause for this.
There are at least two problems in cgclear. One is that it bails if
moving a task to root cgroup returns 'no such process'. But of course
that's just a race condition (task has exited) which should be ignored.
When that is fixed I have also seen: /sys/fs/ cgroup/ memory/ ./sysdefault/ ") = -1 EBUSY (Device or resource busy)
rmdir("
Which is absolutely wrong. sysdefault is a directory and can't be
umounted. I have not yet found the root cause for this.