Comment # 14 on bug 1214845 from Chris
(In reply to James Fehlig from comment #11)
> (In reply to Chris from comment #9)
> > How can I check if the memory controller is available? It is only available
> > if I leave the DefaultMemoryAccounting to yes? What about the performance
> > penalties?
> 
> For lxc, the memory controller needs to be available in
> /sys/fs/cgroup/machine.slice/. You can check the 'cgroup.controllers' file
> for controllers available at any point in the cgroup hierarchy. E.g.
> 
> # cat /sys/fs/cgroup/machine.slice/cgroup.controllers 
> memory pids
> 

"cat /sys/fs/cgroup/machine.slice/cgroup.controllers" is showing the same
result when "DefaultMemoryAccounting" is set to "Yes" as when it is set to
"No":

cpu memory pids

I tried what Eric said and it worked with DefaultMemoryAccounting set to "No".
So what we have for now are a few workarounds to avoid the "Unable to find
'memory' cgroups controller" error and I have no clue about the root of what is
wrong.

How could it be marked as solved if any new or old installation has this error?


You are receiving this mail because: