I’ve heard a lot of people say your swap should be 2x RAM… but do I really need 32GB of swap?

  • Matt
    link
    fedilink
    English
    81 year ago

    It’s something that Linux users have been saying for 20 years and it’s outdated. It makes sense when maybe your computer came with less than a GB of RAM, but these days I usually configure a server with a small amount of swap (like a couple of GB), and I set swappiness to something very low like 5.