Thank you, there was not installed cgroup-lite before, and I found
CGroup ignore lines in lxd.log. (Can you add cgroup-lite install to your
tutorial? https://www.stgraber.org/2016/03/15/lxd-2-0-installing-and-
configuring-lxd-212/ )

After I installed cgroup-lite, memory limiting is works. But CPU core
limiting does not. I found this in lxd.log:

t=2016-05-10T08:26:21+0200 lvl=eror msg="Error reading host's
cpuset.effective_cpus"

lxdhost is a KVM guest with emulated CPU.

root@lxdh14:~# cat /proc/cpuinfo | grep '^model name'
model name      : QEMU Virtual CPU version 2.0.0
model name      : QEMU Virtual CPU version 2.0.0

Is this the root of problem?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1579786

Title:
  Resource limits do not apply when host is Trusty

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to