[lxc-users] dynamic cgroup memory limit
Tian-Jian Wu
tcwu2005 at gmail.com
Sat Mar 31 09:57:48 UTC 2018
please allow my silly question , how?
I know it's ok to set memory limit in config file and it's set to kernel
later.
But after container started how to change memory limit? What command?
2018-03-31 9:26 GMT+08:00 Sergiusz Pawlowicz <sergiusz at pawlowicz.name>:
> On 31 March 2018 at 06:48, Tian-Jian Wu <tcwu2005 at gmail.com> wrote:
> > is it possible to start a container with set memory limit (let's say 1G
> in
> > this case) and set its memory limit value to another , for example,
> 500MB,
> > later??
>
> Sure it is, you are able to modify these limits anytime live.
>
> S.
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20180331/dfa2e8d3/attachment.html>
More information about the lxc-users
mailing list