https://rancher.com/ logo
Title
s

stale-painting-80203

08/30/2022, 12:42 AM
I have a Ubuntu 20.04 server VM running on a Harvester node, which I am using to process large files. when I run
sha256sum my-file
It starts incrementing buff/cache memory, until it uses up 100% of free memory and causes the machine to reboot. If I continually clear the page cash using
echo 1 > /proc/sys/vm/drop_caches
then I am able to prevent reboot.
Is there anyway to change the VM configuration to fix this issues?
w

witty-jelly-95845

08/30/2022, 7:57 AM
Which version of Harvester? How much memory and how many virtual CPUs have you given to VM?
s

stale-painting-80203

08/30/2022, 4:00 PM
Harvester version = 1.0.3. The host has 128GB of memory. There is only one VM and has 32GB of memory and 4 vCPUs.
p

prehistoric-balloon-31801

09/01/2022, 4:19 AM
Hi @stale-painting-80203 , could you see if increase the reserved memory helps: https://docs.harvesterhci.io/v1.0/vm/create-windows-vm/#vm-crashes-when-reserved-memory-not-enough