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

learn more… | top users | synonyms

1
vote
0answers
13 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 ...
1
vote
0answers
26 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
14 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
102 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
10 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 ...
0
votes
1answer
207 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
135 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, ...
0
votes
0answers
138 views

cgclassify “ Cgroup one of the needed subsystems is not mounted” for top level cgroups?

Playing around with cgroups and I have a few questions. If I create a new cgroup with cgcreate and then move processes into the group with echo or cgclassify everything work fine. However if I try ...
1
vote
0answers
770 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
411 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
85 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 - ...
1
vote
0answers
37 views

Is it recommended to create a cgroup per process?

I would like to write a simple monitoring application without using systemd/upstart. Is it recommended to use a cgroup per daemon that I start? If not what are the issues!!
7
votes
1answer
3k 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 ...