Gentoo Archives: gentoo-user

From: Bill Longman <bill.longman@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] cgroupd really do work!
Date: Sun, 05 Dec 2010 23:56:22
Message-Id: AANLkTikKFjhPXvPXSWiXOCAY4kkkFmcBA385mB4mCPPt@mail.gmail.com
In Reply to: Re: [gentoo-user] cgroupd really do work! by Florian Philipp
1 >
2 > Hmm, I just noticed that something is not right here: Everything works
3 > fine as long as I limit the cgroups to cpu scheduling (`mount -t cgroup
4 > cgroup /dev/cgroup -o cpu`). As soon as I add the blkio subsystem for
5 > disk I/O scheduling ("-o cpu,blkio" or no "-o" at all), I can no longer
6 > create cgroup hierarchies. Only the top level "user" cgroup is accepted.
7 >
8 > Another issue is that the kernel documentation in
9 > /usr/src/linux/Documentation/cgroups/cgroups.txt specifies that the
10 > release_agent can also be included as a mount option with
11 > `mount -t cgroup cgroup /dev/cgroup -o
12 > cpu,release_agent='/usr/local/sbin/cgroup_clean'`
13 > That seems to be no valid option, though. At least on my system it
14 > causes mount to fail. Unfortunately there is no output on dmesg.
15 >
16 > Can someone else reproduce this? I'm on gentoo-sources-2.6.34-r12.
17 >
18 >
19 I had this very same problem when I was trying this last year, Florian. I
20 didn't pursue it any further so I can't tell you any solutions. I do
21 remember it though because it was quite frustrating.
22
23 --
24 Bill Longman

Replies

Subject Author
Re: [gentoo-user] cgroupd really do work! Florian Philipp <lists@××××××××××××××××××.net>