[systemd-devel] implies "MemoryAccounting=true"

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Wed Aug 28 04:45:38 PDT 2013


On Mon, Aug 26, 2013 at 11:19:54AM +0800, Gao feng wrote:
> Hi
> 
> The SYSTEMD.CGROUP(5) said if MemoryLimit=bytes is set for unit, it
> implies MemeoryAccounting=true for this unit.
> 
> But seems systemd didn't implement this hint. CPUShares & BlockIO have
> the same problem, this is a shortage? patch needed?
Hm, without looking at code actually, I thought that this
is basically a limitation/requirement of the cgroup controller:
if a memory share is assigned, memory accounting will be performed
by the kernelfor it to work.

Zbyszek


More information about the systemd-devel mailing list