feat(perf): swap 4G->8G via second swapfile, applied live [#755]

Applied on my.knownelement.com 2026-09-03 (founder-approved):
/apps.swap2 4G, fstab-persisted, no restarts. Verification + closure
note: https://projects.knownelement.com/issues/755#note-13
This commit is contained in:
2026-09-03 11:02:06 -05:00
parent 87606da528
commit 482d0614f7
2 changed files with 40 additions and 0 deletions
+1
View File
@@ -45,3 +45,4 @@ SSH `root@my.knownelement.com` — routed through the KNEL/PFVCluster
2026-09-02 (`~/.creds/cloudron.env`, refs only in this repo) — prefer the
API over SSH for reads/limits; base image rebuilds (#710) still need SSH.
- **Inotify headroom APPLIED 2026-09-03** (#755, founder-approved): `fs.inotify.max_user_instances` 128→1024 + `max_user_watches` →1048576 in the same sysctl file, after containerd/dockerd died of inotify exhaustion (full fleet resync 09:1309:51). Runtime-applied, no daemon restarts; error stream dry from 10:08. OOM fail set complete: thefnf/grafana/projects bumped (1G/1G/1.5G), zero OOMs post-recovery.
- **Swap 4G→8G APPLIED 2026-09-03** (#755, founder-approved): second swapfile `/apps.swap2` (4G, fstab-persisted, same-priority family) alongside the original `/apps.swap` — no swapoff, no restart, live `free -h` shows 8.0Gi. Idempotent applier: `perf/swap/grow-swap2.sh`. Headroom for the Monday app push.