Dear friends The memory control does not work I run this command lxc-cgroup -n utel-kde memory.limit_in_bytes 53687091 which is supposed to assing 5B of ram to my container. Then I logged into the container and the box´s memory was still visible within. Then I added this line to the config memory.limit_in_bytes 536870910, rebooted and when the container was up, the whole box´s memory was available. What am I missing.
Philip On Tue, May 6, 2014 at 10:29 AM, Piotr Synowiec <[email protected]> wrote: > Thanks, it's working! > Good day ;) > > > 2014-05-06 15:35 GMT+02:00 Dwight Engen <[email protected]>: > >> On Tue, 6 May 2014 15:19:28 +0200 >> Piotr Synowiec <[email protected]> wrote: >> >> > Hi, >> > >> > I want to update memory.limit_in_bytes. The question is do I need >> > to restart container after changing that limit or there is a way to >> > apply that limit w/out restarting container? >> >> You don't need to restart, see the lxc-cgroup command. >> >> > Regards, >> > Piotr Synowiec >> >> _______________________________________________ >> lxc-users mailing list >> [email protected] >> http://lists.linuxcontainers.org/listinfo/lxc-users > > > > _______________________________________________ > lxc-users mailing list > [email protected] > http://lists.linuxcontainers.org/listinfo/lxc-users _______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
