Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #172056

Systemd problem regarding resource control

From mo <mo777@gmx.net>
Newsgroups linux.debian.user
Subject Systemd problem regarding resource control
Date 2016-09-11 19:30 +0200
Message-ID <sggJQ-AW-35@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Debian users :)

Well i'm back again with another problem i absolutely can't figure out. 
First of some information regarding my system and systemd:

mo@srv:~$ systemd --version
systemd 215
+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ 
-SECCOMP -APPARMOR

mo@srv:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 8.5 (jessie)
Release:	8.5
Codename:	jessie

The problem is the following:
According to the systemd.resource-control man page it is possible to 
manage the resources of slices, scopes, sockets and mount points. 
However, always when i try to set a property on one of my virtual 
machine slices the changes have no effect at all.. no matter what i try.

The commands will be listed in order:

$ sudo systemctl set-property --runtime machine-qemu"\x2d"ts.scope 
CPUQuota=10%

No reply or error returned, so we should be good, then i type:

$ systemctl show machine-qemu\x2dts.scope | grep CPU
CPUAccounting=yes
CPUShares=18446744073709551615
StartupCPUShares=18446744073709551615
CPUQuotaPerSecUSec=(null)

As you can see CPUQutoa is _not_ listed here... which is quite strange 
to me. (Since systemctl did not return any error of any kind)

The vm runs under the user "libvirt-qemu" and is started by hand via virsh.

I honestly can't tell what seems to be wrong.
It would be great if any of you guys has a idea what the reason could be.

Thanks in advance :)

Greets

mo

Back to linux.debian.user | Previous | Next | Find similar | Unroll thread


Thread

Systemd problem regarding resource control mo <mo777@gmx.net> - 2016-09-11 19:30 +0200

csiph-web