A *cgroup* associates a set of tasks with a set of parameters for one or more subsystems.

learn more… | top users | synonyms

0
votes
0answers
16 views

Cgroups error: cgroup change of group failed

I'm trying to test cgroup and, after I set it, I stumbled upon that error. That's what I did: creation of the group grp creation of the user test within the grp group I ran the command: sudo ...
0
votes
0answers
41 views

Cgroup (cgrules) does not work on reboot

I am currently using cgrules to limit the memory usage for specific users. Currently, I have set-up a cgconfig.conf file and cgrules.conf file. I then manually call the following commands: sudo ...
1
vote
0answers
157 views

GRUB_CMDLINE_LINUX=“cgroup_enable=memory swapaccount=1” crashes plasma 5

Following the instructions found here I modified my /etc/default/grub with this line: GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1" on a kubuntu 14.04 and a kubuntu 15.04 machines. The ...
1
vote
0answers
30 views

Cgroups I/O read restriction

I am trying to restrict group to read operation to 100 per second. Here is my cgroups configuration: # Configuration file generated by cgsnapshot mount { blkio = /cgroup/blkio; } group ...
0
votes
1answer
161 views

cgroups disk IO throttling with zfs

I'd like to use cgroups with my linux containers to throttle disk IO on them. Containers placed on ZFS volume /tank/lxc. I have three containers each in their own /tank/lxc/nodeXX directory. How can ...
3
votes
0answers
194 views

Where's cgconfig in Trusty?

I'm trying to create a cgroup where I can limit the resources used by Google Chrome after I hit a memory leak that froze my notebook. I followed the instructions here, here and here, but I've found ...
3
votes
1answer
360 views

Looking for a consistent way to configure cgroups on Ubuntu 14.04 Desktop

I am looking for a consistent way to configure cgroups on a Ubuntu 14.04 Desktop system with limited resources. What I would like to do: create a few groups with limited memory and cpu assigned for ...
0
votes
0answers
108 views

Why is my cgroup size so small, how to fix?

I'm trying to build some Docker images, and I get an 'out of disk space' error. 2014/12/04 14:42:48 write /sys/fs/cgroup/devices/docker/10860.../devices.deny: no space left on device Looking at ...
0
votes
0answers
612 views

Systemd, cgroup, and LXC

After much trial and error, I was finally able to get Spice working in a Fedora LXC container under Ubuntu 14.04. However, the same can't be said of an Ubuntu 14.04 container. It appears that the ...
0
votes
0answers
60 views

Cgroup swap accounting

I'm trying to enable cgroup swap accounting on a Google instance that has ubuntu-1204-precise-v20141028 deployed. I've tried the usual addition of cgroup_enable=memory swapaccount=1 into ...
3
votes
1answer
908 views

why is cgconfig.conf not being read on reboot on 14.04?

I recenty upgraded a release from 12.04 to 14.04, and found out that my cgconfig.conf file is not being read anymore on startup. The file appears to be correct, in the sense that I can explicitly ...
1
vote
2answers
228 views

CGroups memory subsystem

I want to know if I can set dynamic limits to the memory subsystem in a cgroup. Currently I have the OOM disabled and a dummy process to test the control group, when the limit in memory is reached, ...
1
vote
0answers
935 views

dpkg: error processing cgroup-lite (--configure)

i upgrade ubuntu 12.04 server today and i found with this error: # apt-get install -f Reading package lists... Done Building dependency tree....... Reading state information... Done The following ...
1
vote
1answer
887 views

Ubuntu cgroup architecture: cgroup-lite vs cgroup-bin and default config for lxc, libvirt-bin?

It seems that (at least in Ubuntu 12.04 Precise), the cgroup-lite package is used to provide some cgroup capabilities for packages like libvirt-bin and lxc. It sets up a number of cgroups in ...
2
votes
0answers
125 views

net_cls and ns subsystems not available in 12.04?

I'm playing around with cgroups and I noticed when I try to list all available subsystems that the network ones are not available ? Running the following command should list ALL available subsystems - ...
8
votes
1answer
4k views

How to use cgroup in ubuntu 13.04

I'm trying to learn how cgroup works on Ubuntu and seems that cgroup doesn't work in Ubuntu 13.04. I am using the answer to this question How to set cpu limit for given process permanently. Cpulimit ...