[lxc-users] blkio.weight cgroup problems

Andre Nathan andre at digirati.com.br
Wed Oct 26 14:04:58 UTC 2016


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 at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20161026/c5d4ea5d/attachment.sig>


More information about the lxc-users mailing list