-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Open
Labels
enhancementNew feature or requestNew feature or request
Description
🌟 Briefly describe the feature
Add support for vm.swappiness configuration
📝 Detailed description
To apply vm.swappiness change on a PVE node immediately, but not persistant:
sysctl -w vm.swappiness=0
For persistant change modification of /etc/sysctl.conf:
cat <<EOF > /etc/sysctl.conf
vm.swappiness = 0
EOF
💡 Why is this useful?
PROXMOX VE node default settings for SWAP usage:
Size: 8GB
vm.swappiness=64
Results in regular Netdata alerts because the PVE node SWAP usage is above 98%.
I think almost every Promox HomeLab user is facing this kind of issues too.
After the change the swap usage in most of my LXCs is under 0.1%.
https://forum.proxmox.com/threads/swap-usage-100.109491/post-780661
Only a few bestie LXCs are consuming much more (1-100%).

Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request