Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Add the following lines to /etc/sysctl.conf (to prevent "page allocation failure" errors, and to prevent swapping):

Code Block
languagebash
vm.min_free_kbytes = 1572864

...


vm.swappiness = 0


Remove swap:

Code Block
languagebash
swapoff -a

Edit /etc/fstab and comment the swap line

...