9

I have Debian 7 box and little issue:

mkdir /cgroups/test
echo 500 > /cgroups/test/cpu.shares
echo 3167 > /cgroups/test/tasks
bash: echo: write error: No space left on device

How can I fix it?


In fstab:

cgroup /cgroups cgroup defaults 0 0

I have installed: cgroup-bin, libcgroup1, libpam-cgroup

3
  • Provide the mount options for your cgroups mount. – Matthew Ife Mar 3 '14 at 18:59
  • I'm not sure if this is a disk issue. Think this is more cgroup related. I might have some time to look into this tonight ... – justlovingIT Mar 3 '14 at 19:03
  • cgroups is virtual - no need extra hdd space, but i have free space – Guest Mar 3 '14 at 19:11
17

I have been able to reproduce and solve the issue doing :

/bin/echo 0 >/cgroups/test/cpuset.mems
/bin/echo 0 >/cgroups/test/cpuset.cpus

Seems that CPUs and Memory Nodes' list for the cpuset were created with empty values when the test folder was created.

Hope it will work for you also.

2
  • Thanks U! It works! :) I can't add +1 vote to your post because I don't have required reputation. – Guest Mar 3 '14 at 21:48
  • 1
    Hello! Has a bug report been filed for this? I didn't see one with a cursory search. This one needs to go upstream. bugzilla.kernel.org Thanks. At the very least, we should get a warning in the kernel logs. – Daniel Santos May 17 '19 at 23:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.