From 4f3f4b04876a786e73e194a73cb53a8e1c9f8abc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Gra=CC=88fenstein?= Date: Sun, 22 Mar 2026 17:33:11 +0100 Subject: [PATCH] add swap check command before setup instructions --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 974e6fc..aa56e10 100644 --- a/README.md +++ b/README.md @@ -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