How can I set CPU usage and memory to unlimited for a LXC container? This is used for a single CT which should be able to use all physical system resources. In some situations the Proxmox host node hosts 2 LXC containers, both without such limits. In more than 99% of the time it does only host a single CT, though.
In ProxmoxVE 4.2 WebUI I can only set a minimum of 512M for memory and setting `memory: 0` in /etc/pve/lxc/$VMID.conf also resets it to the minimum of 512M. Setting it to a high value (e.g. 99999999) will also affect swap size in the container.
What value should I choose for `cpulimit` if I don't know the total of CPU cores of the host system (the CT might be moved around from one host node to another with slightly different hardware)?
In ProxmoxVE 4.2 WebUI I can only set a minimum of 512M for memory and setting `memory: 0` in /etc/pve/lxc/$VMID.conf also resets it to the minimum of 512M. Setting it to a high value (e.g. 99999999) will also affect swap size in the container.
What value should I choose for `cpulimit` if I don't know the total of CPU cores of the host system (the CT might be moved around from one host node to another with slightly different hardware)?