11

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

Guest
  • 113

1 Answers1

19

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.

krisFR
  • 13,690