<div dir="ltr"><div><div>please allow my silly question , how?<br></div>I know it's ok to set memory limit in config file and it's set to kernel later. <br></div>But after container started how to change memory limit?  What command?<br></div><div class="gmail_extra"><br><div class="gmail_quote">2018-03-31 9:26 GMT+08:00 Sergiusz Pawlowicz <span dir="ltr"><<a href="mailto:sergiusz@pawlowicz.name" target="_blank">sergiusz@pawlowicz.name</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 31 March 2018 at 06:48, Tian-Jian Wu <<a href="mailto:tcwu2005@gmail.com">tcwu2005@gmail.com</a>> wrote:<br>
> is it possible to start a container with set memory limit (let's say 1G in<br>
> this case) and set its memory limit value to another , for example, 500MB,<br>
> later??<br>
<br>
</div></div>Sure it is, you are able to modify these limits anytime live.<br>
<br>
S.<br>
______________________________<wbr>_________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.<wbr>linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" rel="noreferrer" target="_blank">http://lists.linuxcontainers.<wbr>org/listinfo/lxc-users</a></blockquote></div><br></div>