Comment 11 for bug 891096

Revision history for this message
In , Andris (andris-redhat-bugs) wrote :

Workarounded problem by
1) adding backgromg CGROUP

--- /etc/cgconfig.conf-20110526 2011-05-26 08:49:07.794303903 +0300
+++ /etc/cgconfig.conf 2011-05-26 08:49:49.666429924 +0300
@@ -24,3 +24,8 @@
        net_cls = /sys/fs/cgroup/net_cls;
 }

+group background {
+ cpu {
+ cpu.shares = 1;
+ }
+}

2) telling boinc-client service to use cpu:/background group

--- /etc/sysconfig/boinc-client-20110526 2011-05-26 08:51:06.530832500 +0300
+++ /etc/sysconfig/boinc-client 2011-05-26 08:51:37.530188219 +0300
@@ -40,3 +40,5 @@
 #BOINCOPTS="--check_all_logins"
 # The default is no options.
 #BOINCOPTS=
+
+CGROUP_DAEMON="cpu:/background"

After that BOINC client seems to work OK in background (tested on 2
systems: both Fedora 15 x86_64)

I guess it would be good idea if this would happen automatically without need
to additionally hack config files.