[Bug 1271531] [NEW] Specifying cgset -r multiple times fails

Ken Sharp 1271531 at bugs.launchpad.net
Wed Jan 22 12:55:28 UTC 2014


Public bug reported:

>From the man page:

-r <name=value>
              defines  name  of the file to set and the value which should be written to that file.  This parameter can
              be used multiple times.

However:

$ cgset -r cpu.cfs_quota_us=10000 -r cpu.cfs_period_us=50000 gomez
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_period_us=50000 gomez
$ cgset -r cpu.cfs_quota_us=10000  gomez

Also: that error message needs improvement.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: cgroup-bin 0.37.1-1ubuntu10.1
ProcVersionSignature: Ubuntu 3.11.0-15.23~precise1-generic 3.11.10
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.conffile..etc.cgconfig.conf: [modified]
mtime.conffile..etc.cgconfig.conf: 2014-01-22T12:10:10.370249

** Affects: libcgroup (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 precise

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libcgroup in Ubuntu.
https://bugs.launchpad.net/bugs/1271531

Title:
  Specifying cgset -r  multiple times fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libcgroup/+bug/1271531/+subscriptions



More information about the Ubuntu-server-bugs mailing list