High memory usage by kvm process

special_case

New Member
Mar 9, 2022
12
1
3
50
My proxmox has little free RAM available, so I ran top to see where it was all going. And it turned out that one of the kvm is using 25% of memory. Any suggestions for why this is happening? I could always do a kill -1 from the command line, but I'd like to understand why this happened and what I might do to prevent it.


Screen Shot 2022-09-12 at 10.35.09 AM.pngScreen Shot 2022-09-12 at 10.35.30 AM.png
 
The kvm processes are running your VMs. You probably have a VM that you gave that much memory (and maybe you are using PCI(e) passthrough?). Kill it and see which VM stops running if it is not clear from the 4 or 5GB of memory which VM that is.
 
Not sure if it is possible with top, but with htop (apt install htop) you should see to which VM that KVM-task belongs to.
 
Thanks @leesteken. I was incorrectly thinking the kvm process was the proxmox GUI console. It being the an VM makes a lot more sense and isn't that worrying.