01-31-2018, 04:28 AM
Hi Moltke,
Well the temporary change to 10 works, however when I try the permanent line it does't work, however it may be that I'm missing a step. When I put in the "sudo nano..." line I get a bunch of text, then I add the "vm swappiness=10" at the bottom and then I simply close the file.
I seem to recall in the very first link I mentioned above that I had to save the file...I tried to see if I could "save" the changes in terminal command line, but no choice to save. I think I'm missing something.
I also tried the:
sysctl -w vm.swappiness=1
However I get this following message below the above command:
sysctl: permission denied on key 'vm.swappiness'
Not sure what to do. I have RAM of 2GB so it not horrible so thinking 10 would be ok, but can't seem to get a permanent change to 10
Well the temporary change to 10 works, however when I try the permanent line it does't work, however it may be that I'm missing a step. When I put in the "sudo nano..." line I get a bunch of text, then I add the "vm swappiness=10" at the bottom and then I simply close the file.
I seem to recall in the very first link I mentioned above that I had to save the file...I tried to see if I could "save" the changes in terminal command line, but no choice to save. I think I'm missing something.
I also tried the:
sysctl -w vm.swappiness=1
However I get this following message below the above command:
sysctl: permission denied on key 'vm.swappiness'
Not sure what to do. I have RAM of 2GB so it not horrible so thinking 10 would be ok, but can't seem to get a permanent change to 10