0

Before the upgrade, I had Debian Bookworm with vm.swappiness=10 in my /etc/sysctl.conf, but after moving to trixie/sid cat /proc/sys/vm/swappiness started showing me 60 instead of 10. When I run sudo sysctl -p manually, /proc/sys/vm/swappiness gets back to 10.

What is the way to make swappiness value permanent?

Expie
  • 511

1 Answers1

0

I've fixed the problem via creating /etc/sysctl.d/90-swappiness.conf with the following content:

vm.swappiness=10
Expie
  • 511