[lxc-users] dynamic cgroup memory limit

Tian-Jian Wu tcwu2005 at gmail.com
Sat Mar 31 12:54:22 UTC 2018


Thank you I will read it carefully.


Sergiusz Pawlowicz <sergiusz at pawlowicz.name> 於 2018年3月31日 週六 下午6:28 寫道:

> On 31 March 2018 at 16:57, Tian-Jian Wu <tcwu2005 at gmail.com> wrote:
> > 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?
>
> it is clearly described on:
>
> https://insights.ubuntu.com/2016/03/30/lxd-2-0-resource-control-412
>
> lxc config set my-container limits.memory 256MB
>
> 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/ff075d6b/attachment.html>


More information about the lxc-users mailing list