[Bug 1579786] Re: Resource limits do not apply when host is Trusty

2016-05-10 Thread Mihaly Arva-Toth
Great, thank you. Now you can close this ticket. ** Changed in: lxd (Ubuntu) Status: Incomplete => Invalid -- 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

[Bug 1579786] Re: Resource limits do not apply when host is Trusty

2016-05-10 Thread Stéphane Graber
If you're interested in commercial support from Canonical or don't want to be potentially asked to replicate issues you find on LXD 2.0 on Xenial first, then you should be using Xenial instead. If you are happy to do a bit more debugging on your end when hitting an issue and do not require commerc

[Bug 1579786] Re: Resource limits do not apply when host is Trusty

2016-05-10 Thread Mihaly Arva-Toth
Thank you, do you recommend for production use LXD 2.0 on Trusty? -- 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 notificatio

[Bug 1579786] Re: Resource limits do not apply when host is Trusty

2016-05-10 Thread Stéphane Graber
Xenial is what we mostly target, but trusty with the lts-xenial kernel and cgroup-lite should give you effectively the same thing. -- 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: Resour

[Bug 1579786] Re: Resource limits do not apply when host is Trusty

2016-05-10 Thread Mihaly Arva-Toth
Thank you, if I use linux-generic-lts-xenial kernel on Trusty, the CPU limiting is works. (And don't need latest daily ppa lxd.) We would like to use LXD in production environment, running on Trusty host and Trusty containers with mysql. Can we use production with safe? What is the primary develop

Re: [Bug 1579786] Re: Resource limits do not apply when host is Trusty

2016-05-10 Thread Serge Hallyn
That (effective_cpus) *should* be fixed in the daily ppa by a patch on Apr 26: "cpuset: fall back to cpuset.cpus on older kernels" -- 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: Resour

[Bug 1579786] Re: Resource limits do not apply when host is Trusty

2016-05-10 Thread Mihaly Arva-Toth
I made a new test, I set KVM guest config CPU host-passthrough, and CPU core limiting did not work. I found effective_cpus error in log file too. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1579786

[Bug 1579786] Re: Resource limits do not apply when host is Trusty

2016-05-09 Thread Mihaly Arva-Toth
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

[Bug 1579786] Re: Resource limits do not apply when host is Trusty

2016-05-09 Thread Stéphane Graber
Do you have cgroup-lite installed? I suspect LXD is telling you resource limits are disable in /var/log/lxd/lxd.log, most likely because those cgroup controllers aren't mounted on your system. Installing cgroup-lite should fix that for you. ** Changed in: lxd (Ubuntu) Status: New => Incom