Where did you take the information from? About the RAM usage, I mean? From the VM status in Proxmox?
Decidedly odd.I just setup a new VM on my Proxmox cluster and with 8 GB RAM, OPNsense (20.1) showed only a usage of a bit under 300M.
Can you share more information on the setup of the VM?
Can you share what services and plugins you have configured on the firewall itself.Proxy, IDS etc. can lead to high memory consumption. Maybe this is a starting point to find what service is consuming all the memory.You can use default tools like free and top to see what service is using all the memory.
Im no expert but from the screenshot memory ballooning might be being used? If that is the case then this behaviour is expected. I use OpnSense on unraid and the same thing happens for me.
Also as an aside just as another tip, for me to get best performance I had to use machine type i440fx (im using version 4.2) and Seabios so that I could pass the virtio network drivers. These nics provide the best performance in a VM, unless of course you are using pci passthrough on the nics which would be fine also.Pete
Thanks for the tips, but I'm using an Intel NIC PCI card where i pass the ports through.
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND26838 root 20 0 12.5g 12.1g 10212 S 10.0 19.2 2:44.71 kvm
CPU: 0.0% user, 0.0% nice, 0.2% system, 0.2% interrupt, 99.7% idleMem: 103M Active, 15M Inact, 229M Wired, 97M Buf, 11G FreeSwap: 4096M Total, 4096M Free