Specifying cgset -r multiple times fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libcgroup (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
From the man page:
-r <name=value>
be used multiple times.
However:
$ cgset -r cpu.cfs_
controller cpu can't be add
...it fails.
Seems to work with memory.* for some reason. Checking with cgget confirms that the values have not been set.
This works fine:
$ cgset -r cpu.cfs_
$ cgset -r cpu.cfs_
Also: that error message needs improvement.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: cgroup-bin 0.37.1-1ubuntu10.1
ProcVersionSign
Uname: Linux 3.11.0-15-generic i686
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: i386
Date: Wed Jan 22 12:49:06 2014
InstallationMedia: Ubuntu-Server 12.04.1 LTS "Precise Pangolin" - Release i386 (20120817.3)
MarkForUpload: True
ProcEnviron:
LANGUAGE=en_GB:en
TERM=xterm
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: libcgroup
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
mtime.conffile.
tags: | added: amd64 trusty |
Changed in libcgroup (Ubuntu): | |
status: | New → Fix Released |
$ cgset -r cpu.cfs_ quota_us= 8000,cpu. cfs_period_ us=50000 gomez
cgset: the group can't be modified
So that doesn't work either.
$ cgset -r cpu.cfs_ quota_us= 8000:cpu. cfs_period_ us=50000 gomez
cgset: the group can't be modified
Nor does that.