From 63a1ae60652b1a1b68af65f78004f61dfcd8cff7 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 22 Mar 2026 15:23:49 +0000 Subject: [PATCH] Remove --memory limit to avoid memory.swap.max cgroup error on Pi Raspberry Pi OS does not enable swap cgroup accounting by default. Even --memory-swap=-1 causes runc to write "max" to memory.swap.max, which fails with ENOENT when the file does not exist. Removing --memory entirely means runc skips all memory.* cgroup writes. --cpus is unaffected (uses cpu.max, which is always present). https://claude.ai/code/session_01FKCW3FDjNFj6jve4niMFXH --- builder/build.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/builder/build.sh b/builder/build.sh index 66b6876..78a7ad3 100755 --- a/builder/build.sh +++ b/builder/build.sh @@ -105,8 +105,6 @@ podman run --detach \ --label "hiy.app=${APP_ID}" \ --label "hiy.port=${PORT}" \ --restart unless-stopped \ - --memory="512m" \ - --memory-swap=-1 \ --cpus="0.5" \ "$IMAGE_TAG"