High CPU Utilization in Untangle

deepinder27

New Member
May 28, 2021
7
0
1
35
I have Untangle VM with NIC passthrough on PVE 6.4-8. I am noticing the VM is utilizing 100% CPU and almost all the RAM. When I restart the VM, the usage returns to normal for some time and then it again reaches 100% CPU usage. How can I see what is the cause of this high usage and how to manage it?

PS:
I am also having some weird issues with other VM (TrueNAS), don't know if it's related to this or not. After installing TrueNAS, the VM failed to get any IP through virtio, although other VMs had no issue getting the IP and accessing the internet. So I had to manually update the IP which sorted out the issue (sort of). One interface still shows 0.0.0.0
 

Attachments

  • Screenshot 2021-06-17 at 8.48.30 PM.png
    Screenshot 2021-06-17 at 8.48.30 PM.png
    61.1 KB · Views: 1
  • Screenshot 2021-06-17 at 9.04.42 PM.png
    Screenshot 2021-06-17 at 9.04.42 PM.png
    109.1 KB · Views: 1
  • Screenshot 2021-06-17 at 9.08.20 PM.png
    Screenshot 2021-06-17 at 9.08.20 PM.png
    258.8 KB · Views: 1
  • Screenshot 2021-06-17 at 9.06.41 PM.png
    Screenshot 2021-06-17 at 9.06.41 PM.png
    308.4 KB · Views: 1

Dunuin

Famous Member
Jun 30, 2020
2,152
447
83
I have Untangle VM with NIC passthrough on PVE 6.4-8. I am noticing the VM is utilizing 100% CPU and almost all the RAM. When I restart the VM, the usage returns to normal for some time and then it again reaches 100% CPU usage. How can I see what is the cause of this high usage and how to manage it?
If I see it right Untangle is based on Ubuntu/Debian. You could run top inside the guest and look what processes use how much RAM/CPU.
PS:
I am also having some weird issues with other VM (TrueNAS), don't know if it's related to this or not. After installing TrueNAS, the VM failed to get any IP through virtio, although other VMs had no issue getting the IP and accessing the internet. So I had to manually update the IP which sorted out the issue (sort of). One interface still shows 0.0.0.0
TrueNAS is Unix and not Linux and some of the virtio and qemu stuff isn't well implemented in FreeBSD. For example the KVM process is always reserving the maximum possible RAM even if it is all unused inside the guest.
 

deepinder27

New Member
May 28, 2021
7
0
1
35
If I see it right Untangle is based on Ubuntu/Debian. You could run top inside the guest and look what processes use how much RAM/CPU.

TrueNAS is Unix and not Linux and some of the virtio and qemu stuff isn't well implemented in FreeBSD. For example the KVM process is always reserving the maximum possible RAM even if it is all unused inside the guest.
I have attached the "top" output from Untangle. kvm is using 600% CPU.

Pastebin: https://pastebin.com/7k67TMvq
 

Attachments

  • Screenshot 2021-06-17 at 9.22.29 PM.png
    Screenshot 2021-06-17 at 9.22.29 PM.png
    431 KB · Views: 3

Dunuin

Famous Member
Jun 30, 2020
2,152
447
83
If you run top on the host you only see what the VM is using in total. Run top inside the guest to see whats really going on.
 

deepinder27

New Member
May 28, 2021
7
0
1
35
If you run top on the host you only see what the VM is using in total. Run top inside the guest to see whats really going on.
Well, this is embarrassing. I was able to log into Untangle web interface through the root password. However, I was unable to SSH into it. It did not accept the root password. Tried changing it in admin page, but no luck.
I ended up reinstalling the VM. Will post if I get any issue now. Thank you for your reply :).
 

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 your own in 60 seconds.

Buy now!