Will do it tonight as it is critically used. But for now smem does only
account for 33.8G of used memory whereas ps_mem sees the whole used
memory:

# smem -tk
 5743 root     lxd --logfile /var/snap/lxd        0   148.6M   149.4M   152.8M 
19111 100107   /usr/sbin/mysqld              732.0K   212.3M   212.5M   214.6M 
 5236 libvirt-qemu qemu-system-x86_64 -enable-     2.5M    30.3G    30.6G    
32.0G 
-------------------------------------------------------------------------------
  172 26                                       3.2M    31.2G    31.7G    33.8G 

# ps_mem
201.5 MiB + 208.9 MiB = 410.5 MiB       lxd (5)
212.3 MiB + 212.8 MiB = 425.1 MiB       mysqld
145.4 MiB + 417.9 MiB = 563.3 MiB       systemd-journald (5)
 30.3 GiB +  30.9 GiB =  61.2 GiB       qemu-system-x86_64
---------------------------------
                         63.5 GiB

# free -mh
              total        used        free      shared  buff/cache   available
Mem:            78G         72G        3,5G        7,3M        1,9G        4,7G
Swap:          4,0G        5,0M        4,0G

-- 
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

Reply via email to