Daemon event loop saturates at scale: per-seat tmux polling (transcripts, structural, identity) spawns ~300 processes/s; transcript config leaks into seat env
Observed in mvschwarz/openrig · TypeScript · Apache-2.0
What the reporter described: With the default / , the daemon spawns one per seat every 2s. Each async spawn blocks the main thread in (fork, then a blocking read on the exec-status pipe), and that cost grows with RSS: 0.8 ms at 60 MB, 12–20 ms at 1 GB (repro attached). With 90 seats the loop saturates: healthz times out, the accept queue fills,…
Related friction appears in 6 independent repositories. This is stronger than one backlog item, but still requires direct user validation.