Joy Services
Degraded performance Sign in
JoyBlogHow to add swap space on Linux

How to add swap space on Linux

Swap lets a server with little RAM survive a peak instead of killing a program. This adds a 2 GB swap file and keeps it after a restart.

28 Nov 2026Joy Services1 min read
Next step

Try it on a real server. Deploy one by the hour and follow along.