[lxc-users] Container Memory Monitoring
Serge Hallyn
serge.hallyn at ubuntu.com
Mon Apr 7 14:44:52 UTC 2014
Quoting Christoph Mitasch (cmitasch at thomas-krenn.com):
> Hello Serge,
>
> thanks for feedback regarding the library. Is any development code for the library already available?
See
https://lists.linuxcontainers.org/pipermail/lxc-users/2014-March/006414.html
and
http://fabiokung.com/2014/03/13/memory-inside-linux-containers/
> One more general question regarding memory limitation with containers.
>
> Since memory.failcnt also fails when Page Cache fills up the assigned memory, what is the recommended way to limit memory for a container?
Sorry, don't know offhand.
> Is disk-based swap space used as soon as memory.limit_in_bytes is reached?
I would assume so.
> For me it would make more sense to free up Page Cache before writing memory out to disk.
-serge
More information about the lxc-users
mailing list