Any news on this? It seems that there was very interresting progress now that LXC 4.0 is implemented in Proxmox.
Do you think it is now safe to boot into cgroupv2 mode in production? (given that i run reasonably recent guest distros in CTs). I really need to be able to limit the swap per CT (or...
According to some docs, the swappiness cannot completely prevent cgroup from swapping when whole system is deprived of ram.
But hey. it still might be interresting idea to set lower swappiness for mission critical containers, so they stay in the RAM during the peak hours, while the...
You can check the swappiness was applied to individual CT by following command:
cat /sys/fs/cgroup/memory/lxc/<CTID>/memory.swappiness
But i let it run over night and according to proxmox web ui, the CT has swapped 100MB, so i am not sure if something really changed...
Probably can even use following line in /etc/lxc/default.conf :
lxc.cgroup.memory.swappiness = 0
But i am not sure... This does not seem to be applied to proxmox CTs.
OK, so i've added following line to /etc/pve/lxc/XXX.conf file:
lxc.cgroup.memory.swappiness: 0
And it seems to be working. Hopefully the swap is now disabled for that CT...
ZFS heavily trades IO performance for caching / RAM consumption. So if you have enough RAM, your IO will be even faster than before. If you don't have enough RAM, the IO will be slow and RAM occupied.
Hello,
according to cgroupv1 docs: https://www.kernel.org/doc/Documentation/cgroup-v1/memory.txt
It IS possible to set different swappiness value for each cgroup. How can i do this with proxmox CTs?
Also: Can you please add GUI for this?
This would greatly help me with swap issues caused by...
Cool! this did the trick:
pvesh create /nodes/mynode/startall
I've noticed i can even do this:
pvesh create /nodes/localhost/startall
Is there some wildcard to apply to all nodes in cluster? Something like pvesh create /nodes/ALL/startall ?
Hello,
i often run in situation, where i have proxmox with some CTs not running (because i've stopped them). And from all these stopped CTs i want to start only those who have onboot=1 configutation while leaving the rest stopped. Is there way to do this using pct commandline?
Maybe ZFS version changed between these kernels? You can check it eg. using modinfo zfs | head
And report problems to https://github.com/openzfs/zfs/issues
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.