Gentoo Archives: gentoo-user

From: Florian Philipp <lists@××××××××××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] cgroupd really do work!
Date: Mon, 06 Dec 2010 04:53:25
Message-Id: 4CFC6BE0.4060309@f_philipp.fastmail.net
In Reply to: Re: [gentoo-user] cgroupd really do work! by Bill Longman
1 Am 06.12.2010 00:54, schrieb Bill Longman:
2 >
3 >
4 > Hmm, I just noticed that something is not right here: Everything works
5 > fine as long as I limit the cgroups to cpu scheduling (`mount -t cgroup
6 > cgroup /dev/cgroup -o cpu`). As soon as I add the blkio subsystem for
7 > disk I/O scheduling ("-o cpu,blkio" or no "-o" at all), I can no longer
8 > create cgroup hierarchies. Only the top level "user" cgroup is accepted.
9 >
10 > Another issue is that the kernel documentation in
11 > /usr/src/linux/Documentation/cgroups/cgroups.txt specifies that the
12 > release_agent can also be included as a mount option with
13 > `mount -t cgroup cgroup /dev/cgroup -o
14 > cpu,release_agent='/usr/local/sbin/cgroup_clean'`
15 > That seems to be no valid option, though. At least on my system it
16 > causes mount to fail. Unfortunately there is no output on dmesg.
17 >
18 > Can someone else reproduce this? I'm on gentoo-sources-2.6.34-r12.
19 >
20 >
21 > I had this very same problem when I was trying this last year, Florian.
22 > I didn't pursue it any further so I can't tell you any solutions. I do
23 > remember it though because it was quite frustrating.
24 >
25 > --
26 > Bill Longman
27
28 Thanks for the answer!
29
30 I think I've found the answer, at least for the first issue: Look at
31 this bug: https://bugzilla.kernel.org/show_bug.cgi?id=15980
32
33 I still don't know what causes the second issue.
34
35 Regards,
36 Florian Philipp

Attachments

File name MIME type
signature.asc application/pgp-signature