My setup
CPU 13700k
RAM 64GB
One MacOS VM (otherwise working)
One Ubuntu VM
I initially had both VMs with "ballooning" on and all 64GB available to each (I had read that this would "just work" and would just let each VM use as much RAM as it wants as long as it is available). I started getting restarts/crashes (no obvious place to see crash logs?) after running some rsync from the MacOS Vm to the Ubuntu via smb. I noticed that rsync makes the RAM for the MacOS VM in the proxmox "summary" go up immediately a few GBs every other minute until it reaches its max (and I assume tries to use more RAM than exists). However, htop inside the MacOS VM shows it is only using like 13GB (and the Ubuntu is only using like 3GB), so why is Proxmox running out of RAM? I have also read about "ZSH" and ram issues, but I havent made any ZSH disks (dont know if proxmox is using zsh under the hood). Nonetheless, arcstat shows
Dont know if the negative value in "avail" is normal or not. Either way, I have 2 questions:
1) Why is Proxmox using all RAM and blaming the MacOS VM when the MacOS VM itself only claims to be using a small amount of RAM? I looked at my "swap" in the MacOS, and it is 0. However, "cached files" (which I thought was "swap", but I guess not) is very high. How do I fix this?
2) Is my setup correct (with the RAM and ballooning)? I dont want OOM crashes. I have 64GB. If I think my Ubuntu only needs 8GB, and I want my MacOS to have all else available, how much to I set it to? Do I have to account for RAM proxmox is using? If so, how much should I allocate to proxmox? Do I even have to allcoate any to proxmox, or do I just subtract it from the "else remaining" I am giving the MacOs?
CPU 13700k
RAM 64GB
One MacOS VM (otherwise working)
One Ubuntu VM
I initially had both VMs with "ballooning" on and all 64GB available to each (I had read that this would "just work" and would just let each VM use as much RAM as it wants as long as it is available). I started getting restarts/crashes (no obvious place to see crash logs?) after running some rsync from the MacOS Vm to the Ubuntu via smb. I noticed that rsync makes the RAM for the MacOS VM in the proxmox "summary" go up immediately a few GBs every other minute until it reaches its max (and I assume tries to use more RAM than exists). However, htop inside the MacOS VM shows it is only using like 13GB (and the Ubuntu is only using like 3GB), so why is Proxmox running out of RAM? I have also read about "ZSH" and ram issues, but I havent made any ZSH disks (dont know if proxmox is using zsh under the hood). Nonetheless, arcstat shows
Code:
time read ddread ddh% dmread dmh% pread ph% size c avail
00:16:48 0 0 0 0 0 0 0 5.6K 2.0G -576M
Dont know if the negative value in "avail" is normal or not. Either way, I have 2 questions:
1) Why is Proxmox using all RAM and blaming the MacOS VM when the MacOS VM itself only claims to be using a small amount of RAM? I looked at my "swap" in the MacOS, and it is 0. However, "cached files" (which I thought was "swap", but I guess not) is very high. How do I fix this?
2) Is my setup correct (with the RAM and ballooning)? I dont want OOM crashes. I have 64GB. If I think my Ubuntu only needs 8GB, and I want my MacOS to have all else available, how much to I set it to? Do I have to account for RAM proxmox is using? If so, how much should I allocate to proxmox? Do I even have to allcoate any to proxmox, or do I just subtract it from the "else remaining" I am giving the MacOs?