add swap check command before setup instructions

This commit is contained in:
2026-03-22 17:33:11 +01:00
parent a51f86ea0a
commit 4f3f4b0487

View File

@@ -58,7 +58,13 @@ cat /etc/os-release
### Swap (recommended)
If your VPS has no swap, add a 2 GB swapfile to prevent OOM kills:
Check current memory and swap:
```bash
free -h
```
If swap shows `0B`, add a 2 GB swapfile to prevent OOM kills:
```bash
sudo fallocate -l 2G /swapfile