Linux VM generates large swap file when there is still memory available ?
My ESXi Specs:
Xeon @ 2.33 GHz (2 x 4 Core)
32 GB DDR2 RAM
Running about 22 VMs
Iíve got a strange problem, How come my ESXi got so large swap
file size ~ approx. 3.5 GB while the amount of total RAM is still not
100 % used.
I've assigned the following specs as in the screenshot (4 vCPU for better performance).
Can anyone explains why this VM still using swap file?
FYI: The VMware tools is not installed in this VM.
When I look at the Guest memory % usage it doesn't make sense to me that this host running slow due to the Swap file created (ESXi swap as well as the Internal VM swap file).
The VM that i highlighted is the slowest with big swap file created. --> See the screenshot attached.