[root@localhost ~]# echo 'vm.swappiness = 10' >> /etc/sysctl.conf [root@localhost ~]# sysctl -p [root@localhost ~]# reboot