4 ms·
If you are using budget vps, it is likely you will want to enable it. Because vps tend to not setup a swap partition at all. And you are unlikly to reformat a v
by mmis1000 6y ago
If you are using budget vps, it is likely you will want to enable it. Because vps tend to not setup a swap partition at all. And you are unlikly to reformat a vps to add a swap partition.
- megous 6y agoOr use zswap on budget VPS.
- bombcar 6y agoI use swap files on all my VPS, even the ones that give me a swap partition - space is cheap as free and it's easy to set a monitor that says "oh wow we're starting to use swap significantly, something's wrong" instead of a "the box OOMKILLed everything, something's wrong". In fact that just happened - no service died but something used a lot of RAM at midnight - investigating now.