VMs shutting down unexpectedly

licensing problem of windows, create a vm using linux and chk if same problem happens or not, then only you can have some idea about the problem

are you using no subcription version of prox mox ?

if you clone a vm and did not change the vm id ("sysprep" out of box in windows) or mac address , then also u may face this problem
 
Last edited:
I figured out my problem. I was short on RAM. You can't allocate 100% of available RAM to all VMs either. You should leave a tiny smidge for overhead.
 
I was short on RAM.
Yeah..., you should not overcommit RAM. It just does not work well. In all of my (Homelab-) systems RAM is always the most critical resource :-(

If you need to relax that problem a little bit you may look at zram; I prefere this over a static swap-file:

Code:
~# apt show zram-tools

Description: utilities for working with zram
 zram is a Linux kernel module that allows you to set up compressed
 filesystems in RAM.
 .
 zram-tools uses this module to set up compressed swap space.
 This is useful on systems with low memory or servers
 running a large amount of services with data that's easily swappable
 but that you may wish to swap back fast without sacrificing disk
 bandwidth.