From 85c7c8dac3e3768be04debe3b9ee0d967a67a8ef Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Fri, 5 Jun 2026 03:45:50 -0400 Subject: [PATCH] Add swap + immich memory limits after OOM incident Co-Authored-By: Claude Opus 4.8 (1M context) --- docs/server.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/server.md b/docs/server.md index 96d1f7e..870b9e9 100644 --- a/docs/server.md +++ b/docs/server.md @@ -23,6 +23,7 @@ | RAM | 7.6 GiB | | Disk | 150 GB (`/dev/sda1`) | | Volume | `mercury-objects` (id `105925944`), 750 GB ext4 at `/mnt/objects` (fstab, nofail) — MinIO data | +| Swap | 4 GB swapfile (`/swapfile`, swappiness 10) — added 2026-06-05 after Immich's arrival OOM-killed the Dokploy service (exit 137 loop → bad gateway). Immich server/ML now carry 2g/1.5g mem_limits. | | Firewall | Hetzner Cloud Firewall `mercury-web` (id `11085164`): inbound 22/80/443tcp+udp/2222 + ICMP only. Blocks the otherwise-public Dokploy :3000 and Traefik dashboard :8080 (api.insecure). Manage via Hetzner API. | ## Stack