Public bug reported: I have a Centos 7 VM running in Ubuntu, on a Lenovo Thinksystem server. After launching, it starts eating up the whole host memory quite quickly. If I shut it down, still 32Gb get used by no process. I need to reboot the host to get back the used memory.
Host: # free -m total used free shared buff/cache available Mem: 80137 72925 5379 6 1831 6447 Swap: 4095 3 4092 # ps_mem 129.7 MiB + 130.2 MiB = 259.9 MiB mysqld 121.2 MiB + 237.3 MiB = 358.5 MiB systemd-journald (5) 200.9 MiB + 208.3 MiB = 409.1 MiB lxd (5) 30.4 GiB + 30.9 GiB = 61.4 GiB qemu-system-x86_64 --------------------------------- 63.3 GiB # virsh list Id Name State ---------------------------------------------------- 1 ispmanager-master running Guest: # free -m total used free shared buff/cache available Mem: 32011 6844 435 259 24730 24513 Swap: 10235 100 10135 ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: qemu-kvm 1:2.11+dfsg-1ubuntu7.31 ProcVersionSignature: Ubuntu 5.4.0-42.46~18.04.1-generic 5.4.44 Uname: Linux 5.4.0-42-generic x86_64 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair ApportVersion: 2.20.9-0ubuntu7.16 Architecture: amd64 Date: Mon Aug 24 08:03:21 2020 Lsusb: Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 04b3:4010 IBM Corp. Bus 001 Device 002: ID 2a4b:0400 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub MachineType: Lenovo ThinkSystem SR590 -[7X99CTO1WW]- ProcEnviron: TERM=xterm-256color PATH=(custom, no user) LANG=fr_FR.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-42-generic root=UUID=7b9c74b1-d80e-457e-957a-32be0fca891e ro SourcePackage: qemu UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 05/20/2020 dmi.bios.vendor: Lenovo dmi.bios.version: -[TEE156L-2.61]- dmi.board.asset.tag: none dmi.board.name: -[7X99CTO1WW]- dmi.board.vendor: Lenovo dmi.board.version: none dmi.chassis.asset.tag: none dmi.chassis.type: 23 dmi.chassis.vendor: Lenovo dmi.chassis.version: none dmi.modalias: dmi:bvnLenovo:bvr-[TEE156L-2.61]-:bd05/20/2020:svnLenovo:pnThinkSystemSR590-[7X99CTO1WW]-:pvr04:rvnLenovo:rn-[7X99CTO1WW]-:rvrnone:cvnLenovo:ct23:cvrnone: dmi.product.family: ThinkSystem dmi.product.name: ThinkSystem SR590 -[7X99CTO1WW]- dmi.product.sku: 7X99CTO1WW dmi.product.version: 04 dmi.sys.vendor: Lenovo ** Affects: qemu (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug bionic third-party-packages uec-images -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1892648 Title: VM eating twice the memory allocated To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1892648/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs