[libvirt-users] LXC Memory Limits wont work

Markus Raps m.raps at rapsplace.de
Wed Aug 1 10:53:58 UTC 2018


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

lxc-template ~ # free -m
               total        used        free      shared  buff/cache   
available
Mem:          32108         626       31396         249          85      
  31396
Swap:             0           0           0
lxc-template ~ #


the host is running debian 9 with default repos

hv1 ~ # dpkg -l | grep virt
ii  libgovirt-common                     0.3.4-2                         
         all          GObject-based library to access oVirt REST API 
(common files)
ii  libgovirt2:amd64                     0.3.4-2                         
         amd64        GObject-based library to access oVirt REST API
ii  libvirt-clients                      3.0.0-4+deb9u3                  
         amd64        Programs for the libvirt library
ii  libvirt-daemon                       3.0.0-4+deb9u3                  
         amd64        Virtualization daemon
ii  libvirt-daemon-system                3.0.0-4+deb9u3                  
         amd64        Libvirt daemon configuration files
ii  libvirt-glib-1.0-0:amd64             1.0.0-1                         
         amd64        libvirt GLib and GObject mapping library
ii  libvirt0                             3.0.0-4+deb9u3                  
         amd64        library for interfacing with different 
virtualization systems
ii  python-libvirt                       3.0.0-2                         
         amd64        libvirt Python bindings
ii  qemu-kvm                             1:2.8+dfsg-6+deb9u4             
         amd64        QEMU Full virtualization on x86 hardware
ii  virt-viewer                          5.0-1                           
         amd64        Displaying the graphical console of a virtual 
machine
ii  virtinst                             1:1.4.0-5                       
         all          Programs to create and clone virtual machines


-- 

best regards
Markus Raps
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: deb4.xml
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20180801/c6b010d0/attachment.ksh>


More information about the libvirt-users mailing list