Excessive memory usage ~~

scsc1982

New Member
May 7, 2020
5
1
3
42
Launching proxmox started only one virtual machine and allocated only 10 G of memory, but the entire system was already using 32 G, and I don't know where the extra memory went.



Boot ZFS Morris 2 hard drives.It says that ZFS eats up memory, but not that much.




1588831546455.png

1588831520985.png
1588831781703.png
 
What can you see if you sort your processes by memory usage, something like ps aux --sort -rss? The kvm processes in your host need a little more memory than your guest has available (overhead).
 
  • Like
Reactions: scsc1982
What can you see if you sort your processes by memory usage, something like ps aux --sort -rss? The kvm processes in your host need a little more memory than your guest has available (overhead).

Dear,

Thank you very much for your help.
1,I found that pause's KVM also consumes memory, unlike EXSI's virtual machine.
2,When I turned on 2 KVMS, I only configured 18G memory, but actually used 24G+. Is that normal?

1,1589169999692.png

2,1589170058223.png

1589170064627.png
1589170072059.png
 
2,When I turned on 2 KVMS, I only configured 18G memory, but actually used 24G+. Is that normal?
If you look at the output of ps and calculate a bit
(0.156+0.14)*64=18.9 or
9251336/1024/1024 + 10275024/1024/1024 = 18.6
you see that the two KVM processes use about 19 GB of your memory.
 
If you look at the output of ps and calculate a bit
(0.156+0.14)*64=18.9 or
9251336/1024/1024 + 10275024/1024/1024 = 18.6
you see that the two KVM processes use about 19 GB of your memory.


So nice~
I understand your reply.
There is also small question

1,24G memory in use, KVM use18.6G, the rest is used by PVE server, right?
2,Suspended KVM also takes up memory, right?
 
Where did you take the 1.24G from?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!