<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">So apparently this is a known kernel
issue. Solution is to write values into cpuset.mems and
cpuset.cpus.<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><a class="moz-txt-link-freetext" href="https://serverfault.com/questions/579555/cgroup-no-space-left-on-device">https://serverfault.com/questions/579555/cgroup-no-space-left-on-device</a></div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Cheers,</div>
<div class="moz-cite-prefix">Ben<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">On 03/09/2020 15:27, Ben Green wrote:<br>
</div>
<blockquote type="cite"
cite="mid:5d85b1e2-58e2-0102-d999-95fee2218b85@bristolwireless.net">
<pre class="moz-quote-pre" wrap="">Hi all,
We are starting to use LXC in production here, after solving our final
problem (inconsistent and disappearing cgroup space - Thread name
"Disappearing Cgroups" on this list) completely with the help of Serge
E. Hallyn.
Now something odd has come up. I have one server on the Debian kernel
4.19.0-9-amd64 and another on 4.19.0-10-amd64. On the 4.19.0-9-amd64
kernel we cat this:
# cat /sys/fs/cgroup/cpuset/forcontainers/tasks
1216
5065
12372
etc.
But on the other one with the 4.19.0-10-amd64 we get this:
# cat /sys/fs/cgroup/cpuset/forcontainers/tasks
No output! Also on the 4.19.0-10-amd64 machine it is not possible to add
to the list of tasks:
# echo $$ >> /sys/fs/cgroup/cpuset/forcontainers/tasks
-bash: echo: write error: No space left on device
However, we've had this happen before, and thought that adding
'swapaccount=1' to the grub command line arguments had fixed it. Seems
it hadn't. I'm not even sure therefore that this is consistent between
kernels. It appears it might be entirely random.
Has anyone else experienced this phenomena? Any clues as to what might
be happening?
It seems that the cgroup has a messed up mount, but it looks fine to me:
cgroup on /sys/fs/cgroup/cpuset type cgroup
(rw,nosuid,nodev,noexec,relatime,cpuset)
Remove and remake the /sys/fs/cgroup/cpuset/forcontainers directory and
the problem persists.
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
lxc-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a>
<a class="moz-txt-link-freetext" href="http://lists.linuxcontainers.org/listinfo/lxc-users">http://lists.linuxcontainers.org/listinfo/lxc-users</a>
</pre>
</blockquote>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
Cheers,
Ben Green</pre>
</body>
</html>