Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 12-13-2011, 11:29 AM   #1
LQ Newbie
Registered: Jun 2011
Posts: 18

Rep: Reputation: Disabled

I start testing cgroup on my appliances. The point is to make cgrulesengd move processes according to /etc/cgrules.conf:
kioskset cpu,memory PLAYBACK/
kiosk1 cpu,memory PLAYBACK/
www-data cpu,memory WEB/
root cpu,memory ROOT/
my /etc/cgconfig.conf:
group PLAYBACK {
cpu {
cpu.shares = 1000;
memory {
memory.limit_in_bytes = 1024M;

group WEB {
cpu {
cpu.shares = 500;
memory {
memory.limit_in_bytes = 512M;

group ROOT {
cpu {
cpu.shares = 50;
memory {
memory.limit_in_bytes = 512M;

mount {
cpu = /tmp/cgroups/cpu;
cpuacct = /tmp/cgroups/cpuacct;
memory = /tmp/cgroups/memory;
For some reason cgrulesengd doesn't move processes to groups at all.
Maybe someone is experienced in this technology


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cgroup socket(PF_NETLINK, SOCK_DGRAM, 11) = -1 EPROTONOSUPPORT olexandr.klymenko Linux - Kernel 2 12-14-2011 08:34 AM
Alternative to 200 lines kernel patch, /sys/fs/cgroup/cpu missing Linux.tar.gz Slackware 27 11-29-2010 10:40 AM

All times are GMT -5. The time now is 08:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration