This is an old desktop I use for some small self hosting services. I never use all my RAM and I dont see any RAM spikes other than when I install/comile things which I havent done in months. I restarted the machine a couple of times, but the SWAP will evenually go right back up to 100%.
I have an Ubuntu server/yunohost setup and found: askubuntu.com/…/why-is-swap-being-used-even-thoug…
My cat /proc/sys/vm/swappiness value is indeed 60. Im not sure what would reduce the SWAP space usage.
Would changing this swappiness value help? Anyone come across this issue before?
possiblylinux127@lemmy.zip 11 months ago
I would turn swap off honestly. Chances are you aren’t going to have issues with 16GB.
joshcodes@programming.dev 11 months ago
Counter point, set the ‘swappiness’ lower than the default 60. I’ve set mine to 30 and the system boots a lot faster. You could research and consider 10-20.
possiblylinux127@lemmy.zip 11 months ago
What are you using swap for? On Fedora installs the swap is just zram.
The worst case without swap is that oom gets triggered. If 16GB gets eaten up chances are it is a single app.