I'm running TrueNAS-12.0-U2.1 on a box with following configuration:
The VM configuration is:
vCPU:1
Cores:2
Thread:1
Memory Size:4.00 GiB
NIC: VirtIO
DISK: AHCI
All VirtIO driver have been updated to latest stable.
My problem is the bhyve VM always use RAM far beyond the 4GB limit, sometimes it use up to 13GB an then closed by the system.
In the first 5 to 7 hours everything goes smoothly, the bhyve thread consumes around 4150M reportedly. Afterwards the used RAM goes up 1MB every 2 to 3 seconds till it is forced closed. I have googled similar cases, and tried to limit max ARC at around 8GB but does not help.
Another suspected configuration is "memorybacking" setting in virtsh domain script, but I can't save any changes perhaps because of security arrangement in TrueNAS.
Is there any way to force bhyve stop consuming RAM and release the unused RAM?
Thanks for any help.
- Motherboard make and model: Asrock A320M-ITX
- CPU make and model: AMD Ryzen 3 3200G
- RAM quantity: 16GB
- Hard drives: Toshiba 6TB*4 running RAIDZ2, boot device: ADATA SU650 120GB*2 mirror
- Hard disk controllers: onboard SATA*4 and a PCIE sata extention *2 port
- Network card: onboard INTEL I211AT
The VM configuration is:
vCPU:1
Cores:2
Thread:1
Memory Size:4.00 GiB
NIC: VirtIO
DISK: AHCI
All VirtIO driver have been updated to latest stable.
My problem is the bhyve VM always use RAM far beyond the 4GB limit, sometimes it use up to 13GB an then closed by the system.
In the first 5 to 7 hours everything goes smoothly, the bhyve thread consumes around 4150M reportedly. Afterwards the used RAM goes up 1MB every 2 to 3 seconds till it is forced closed. I have googled similar cases, and tried to limit max ARC at around 8GB but does not help.
Another suspected configuration is "memorybacking" setting in virtsh domain script, but I can't save any changes perhaps because of security arrangement in TrueNAS.
Is there any way to force bhyve stop consuming RAM and release the unused RAM?
Thanks for any help.