Re: [lxc-users] dynamic cgroup memory limit

2018-04-02 Thread Tian-Jian Wu
To be honest I was confused with the name. I was using lxc1.0 then upgrade to lxc2.0. And there is lxd , android not support golang so that I didn't (or say I cannot) use lxd, or I will want to try its varieties of features. lxc-cgroup seems be that I am looking for. I will try it , thank you.

Re: [lxc-users] dynamic cgroup memory limit

2018-04-01 Thread Fajar A. Nugraha
On Sat, Mar 31, 2018 at 9:43 PM, Tian-Jian Wu wrote: > We are developers of project clondroid (https://github.com/clondroid) > Our android porting lxc tools are at > https://github.com/clondroid/lxc-for-Android-7.1.2. > This command 'lxc config set my-container limits.memory

Re: [lxc-users] dynamic cgroup memory limit

2018-03-31 Thread Tian-Jian Wu
We are developers of project clondroid (https://github.com/clondroid) Our android porting lxc tools are at https://github.com/clondroid/lxc-for-Android-7.1.2. This command 'lxc config set my-container limits.memory 256MB' , the 'lxc' command seems be part of LXD project. If so, I guess it's

Re: [lxc-users] dynamic cgroup memory limit

2018-03-31 Thread Tian-Jian Wu
Thank you I will read it carefully. Sergiusz Pawlowicz 於 2018年3月31日 週六 下午6:28 寫道: > On 31 March 2018 at 16:57, Tian-Jian Wu wrote: > > please allow my silly question , how? > > I know it's ok to set memory limit in config file and it's set to

Re: [lxc-users] dynamic cgroup memory limit

2018-03-31 Thread Sergiusz Pawlowicz
On 31 March 2018 at 16:57, Tian-Jian Wu 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:

Re: [lxc-users] dynamic cgroup memory limit

2018-03-31 Thread Tian-Jian Wu
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 : > On 31 March 2018 at 06:48,

Re: [lxc-users] dynamic cgroup memory limit

2018-03-30 Thread Sergiusz Pawlowicz
On 31 March 2018 at 06:48, Tian-Jian Wu 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] dynamic cgroup memory limit

2018-03-30 Thread Tian-Jian Wu
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?? ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org