cgroups (control groups) is a Linux kernel feature to limit, account and isolate resource usage (CPU, memory, disk I/O, etc.) of process groups.

learn more… | top users | synonyms

4
votes
1answer
750 views

Linux cgroups cpuset w/ subs causes cgconfig not to start

I am having a problem trying to separate 2 groups using cpuset subsystem. This works fine, however if i go to add a subgroup to that group (in this case -- user1), cgconfig will fail to start with "...
2
votes
1answer
845 views

capping VM IO with cgroups

I'm using cgroups to cap disk IO that a VM does by using libvirt's support for cgroups. So, I'm getting the major/minor number of the device from a 'ls -lL' on the drive where the '.img' file for the ...
2
votes
1answer
544 views

OpenNebula-managed libvirt not allowing access to /dev/kvm

I have a fresh Open Nebula 3.2.1 installation which I'm trying to get working and manage some freshly-installed debian squeeze kvm hosts. My problem is that when Open Nebula deploys VMs the KVM ...
0
votes
1answer
657 views

add a cgroup controller into libvirt

libvirt by default has cgroup controllers of ["cpu", "devices", "memory", "blkio", "cpuacct"] as shown in qemu.conf. I want to add one more controller of net_cls. I tried to modify the config file to ...
3
votes
0answers
226 views

Centos 7 & Hard CPU Limits

OS Version Information: [root@localhost system]# cat /etc/redhat-release CentOS Linux release 7.1.1503 (Core) Configuration for the test.slice is as follows: [root@localhost system]# cat test....
1
vote
0answers
11 views

Limiting Oracle instances resources with Cgroups?

Is it possible to limit the amount of resources (I/O, CPU and Memory) a Oracle instance can consume using only cgroups? (no containers or virtualization) The reason I wanna do that is because I want ...
1
vote
0answers
121 views

cgred / cgrulesengd - does not move new user pid to task file

cgrulesengd can't move pid to task file while running as deamon, if I restart cgrulesengd all pids are moved correctly to task file, but new pid's not. So, if i log in as hello user, and then run ...
1
vote
0answers
253 views

Restrict I/O Write usage using cgroups

I am trying to restrict I/O write usage on my server using cgroups. Here is my partition table info: major minor #blocks name 8 0 10485760 sda 8 1 9437184 sda1 8 ...
1
vote
0answers
40 views

(Unexpected?) blkio controller behavior

I'm using docker 1.4.0 with lxc-1.0.6 and cgroup-lite-1.1.5 on Ubuntu 12.04. I have 3 hard disks (/dev/[sdb-sdd]) that I write to from 3 distinct containers. They have only one XFS partition, mounted ...
1
vote
0answers
306 views

How to change docker lxc/cgroup configuration at runtime

I would like to change docker lxc/cgroup settings while a container is running. As an example, if I launch a container like this: docker run --lxc-conf="lxc.cgroup.cpuset.cpus = 0" ... How do I ...
1
vote
0answers
61 views

How to test if packet has been tagged with classid

I'm trying to troubleshoot an issue I'm having related to IFB Mirroring which I'm attempting to deploy based on this question: Tc: ingress policing and ifb mirroring My theory is that since the ...
0
votes
0answers
31 views

LXC host share cgroup directory with container

I run priviledged containers on Centos 7. I want to have isolated cgroups inside container, so I don't want other containers to see cgroups of other containers. I have set lxc.mount.auto to cgroup:...
0
votes
0answers
42 views

cgroup same process with different resources

I have a Jboss application server installed through source and running multiple instances(say 3) of JBoss as a same user in a single machine on different ports. Using cgroups, I'm trying to do ...
0
votes
0answers
28 views

Cgroup io throtteling kvm

I am using virtio-9p for sharing the file between host and guest. To test the shared file I do read/write options in the guest.To have controlled io, I am using cgroup blkio. While using cgroup I am ...
0
votes
0answers
19 views

Running the same program with two different users on the same system takes vastly different times

I am on Ubuntu 15.04, I ran a program under the user who was added during the time of installation(call him D) and the program took 2.5 seconds to complete. I add another user T to the system. When I ...
0
votes
0answers
48 views

Linux outbound traffic filtering with: cgroups + tc + iptables

I spent a lot of time trying to implement outbound traffic filtering with: cgroups + tc + iptables on Debian Jessie. Unfortunately there is still something wrong. The biggest issue is: - cgroups ...
0
votes
0answers
51 views

CGroup behaviour not as expected

I was testing Hadoop with CGroup. I started a process with 50 threads doing math and spawned one task on each node. Also I started single-threaded job whose tasks took the rest of the resource on each ...
0
votes
0answers
57 views

Why a moved process using cgclassify doesn't get correct cpu share

Here is my test case on an Ubunut 12.04. I have a simple code that uses all cores of a multicore system as follows: useAllCores.cpp int main(){ #pragma omp parallel for for (int i = 0; i < 50; ...
0
votes
0answers
73 views

What is means in tc “Unparsable filter ID ”2:“”

I wrote a shell script for limit upload speed by tc and cgroup. #!/bin/bash -x mkdir -p /cgroup/imagecenter mount -t cgroup -o net_cls image_net /cgroup/imagecenter/ mkdir -p /cgroup/imagecenter/...
0
votes
0answers
363 views

Trouble using net_cls control group in tandem with tc for packet filtering

I'm having some trouble limiting network bandwidth using the net_cls control group in conjunction with the linux traffic controller (tc). I think I might just be confused about how I'm writing the ...