Re: [libvirt-users] LXC Memory Limits wont work

2018-08-06 Thread Rene Pasing
On 06.08.2018 10:35, Daniel P. Berrangé wrote: The 'free' command reports what is present in the host, which is distinct from what's made available to the container. This isn't unique to libvirt LXC containers - in fact any command that is runnning in a cgroup with memory controller limits applie

Re: [libvirt-users] LXC Memory Limits wont work

2018-08-06 Thread Daniel P . Berrangé
On Wed, Aug 01, 2018 at 12:53:58PM +0200, Markus Raps wrote: > Hello, > > iam currently trying to run LXC Containers with libvirt > but the memory limit doesn't want to work > > in the container i see the full 32GB from the Host OS > iam pretty sure that iam missing a configline in the xml > > l

Re: [libvirt-users] LXC Memory Limits wont work

2018-08-01 Thread Markus Raps
Ok somehow the processes bypasses the group/namespace under libvirt the cgroups.procs file ( /sys/fs/cgroup/memory/machine/lxc-4296-deb4.libvirt-lxc/cgroup.procs ) shows only one process with the lxc tools the cgroups.procs file ( /sys/fs/cgroup/memory/lxc/debian/cgroup.procs ) shows up to