Add a swap file
1
Check current swap
2
Create a 1 GB swap file
3
Make it persistent across reboots
4
Verify
Add a swap file to survive memory spikes, tune swappiness, and use built-in tools to diagnose slow performance on your Opus Host VPS.
Check current swap
Create a 1 GB swap file
Make it persistent across reboots
Verify