LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 12-13-2011, 10:29 AM   #1
olexandr.klymenko
LQ Newbie
 
Registered: Jun 2011
Posts: 18

Rep: Reputation: Disabled
cgroup


I start testing cgroup on my appliances. The point is to make cgrulesengd move processes according to /etc/cgrules.conf:
Quote:
kioskset cpu,memory PLAYBACK/
kiosk1 cpu,memory PLAYBACK/
www-data cpu,memory WEB/
root cpu,memory ROOT/
my /etc/cgconfig.conf:
Quote:
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
 
  


Reply


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 07:34 AM
Alternative to 200 lines kernel patch, /sys/fs/cgroup/cpu missing Linux.tar.gz Slackware 27 11-29-2010 09:40 AM


All times are GMT -5. The time now is 03:16 AM.

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