Use more safe vm.swappiness=20 to avoid issues on systems with aggressive memory management.

It will start using swap when RAM is full in 80%, which is better than Debian/Ubuntu default 60% but still gives the system enough space and time to avoid OOM kernel issues and killing processes like mysql.