Well, duh... the weight must be between 10 and 1000... On 10/26/2016 11:01 AM, Andre Nathan wrote: > Hi > > I'm running a few hundred containers for my customers, which are limited > in CPU and memory use according to their plan. I'm trying to introduce > I/O limits via blkio.weight so that the basic plan has weight 1000, the > next plan has weight 1100, then 1200 and so on. > > I've added "lxc.cgroup.blkio.weight = 1000" (or the appropriate weight) > to the containers' config file and restarted them, but after around 200 > containers were succesfuly restarted, I started getting this error on > lxc-start: > > lxc-start: cgmanager.c: cgm_setup_limits: 1238 call to > cgmanager_set_value_sync failed: invalid request > > lxc-start: cgmanager.c: cgm_setup_limits: 1241 Error setting cgroup > blkio:lxc/c1 limit type blkio.weight > > Has anyone seen anything similar? > > I'm using LXC 1.07 and cgmanager 0.24 (Ubuntu 14.04). > > Thanks, > Andre > > > > _______________________________________________ > lxc-users mailing list > lxc-users@lists.linuxcontainers.org > http://lists.linuxcontainers.org/listinfo/lxc-users >
signature.asc
Description: OpenPGP digital signature
_______________________________________________ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users