Umbrel CLI is spawning thousands of zombie sh processes for weeks
Hi Umbrel team,
I’m reporting a serious issue affecting my Umbrel node. After extensive debugging, I found that Umbrel’s main CLI process has been spawning thousands of zombie sh processes continuously for several weeks, without ever reaping them.
This appears to be a persistent bug inside Umbrel’s internal process management.
Summary
Umbrel’s main process:/usr/local/bin/node --require /opt/umbreld/node_modules/tsx/dist/preflight.cjs --import file:///opt/umbreld/node_modules/tsx/dist/loader.mjs /opt/umbreld/source/cli.ts --data-directory=/home/umbrel/umbrelhas been running since Aug 03, and has continuously spawned zombie sh processes ([sh] ) every day since then.
All of these zombies share the same parent PID: 3321266, which is the Umbrel CLI process.
Environment
Umbrel running as root
Umbrel CLI entrypoint: /opt/umbreld/source/cli.ts
Node binary: /usr/local/bin/node
Data directory: /home/umbrel/umbrel
System: Linux (Umbrel OS / Umbrel on Linux)
Symptoms
Running ps shows a huge number of zombie sh processes:root 108025 0.0 0.0 0 0 ? Z Aug13 0:00 [sh] root 134169 0.0 0.0 0 0 ? Z Aug13 0:00 [sh] root 188209 0.0 0.0 0 0 ? Z Aug13 0:00 [sh] root 359394 0.0 0.0 0 0 ? Z Aug14 0:00 [sh] root 365194 0.0 0.0 0 0 ? Z Aug14 0:00 [sh] root 432550 0.0 0.0 0 0 ? Z Aug05 0:00 [sh] …root 2759315 0.0 0.0 0 0 ? Z Aug26 0:00 [sh] root 3207192 0.0 0.0 0 0 ? Z 12:32 0:00 [sh] root 3211578 0.0 0.0 0 0 ? Z 12:37 0:00 [sh]