fix(shells): raise the process cap to 4096 #12

Merged
thelion merged 2 commits from fix/no-process-limit into main 2026-11-07 00:40:02 +00:00
Owner

limits.processes: 300 counts threads, and systemd inside each shell gives the user a third of it (TasksMax=99). Podman plus go build needs more: deploys failed with fork/exec /usr/bin/crun: resource temporarily unavailable.

4096 leaves ~1350 for the user and still stops a fork bomb: 9 shells at the cap fit well within the host's ~112k threads.

Already applied live: incus profile set shells limits.processes=4096 plus systemctl daemon-reload in each shell (user slices now 1351).

🤖 Generated with Claude Code

`limits.processes: 300` counts threads, and systemd inside each shell gives the user a third of it (`TasksMax=99`). Podman plus `go build` needs more: deploys failed with `fork/exec /usr/bin/crun: resource temporarily unavailable`. 4096 leaves ~1350 for the user and still stops a fork bomb: 9 shells at the cap fit well within the host's ~112k threads. Already applied live: `incus profile set shells limits.processes=4096` plus `systemctl daemon-reload` in each shell (user slices now 1351). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
limits.processes: 300 counts threads, and inside the shell systemd gives
each user a third of it (TasksMax=99). Podman and go build need more than
that: deploys failed with 'fork/exec /usr/bin/crun: resource temporarily
unavailable'. CPU and memory limits already bound what a shell can use.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fix(shells): keep a process cap, at 4096
Some checks failed
CI / test (pull_request) Successful in 1m59s
CI / release (pull_request) Failing after 0s
e9a76f76ca
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ircforever/shells-config!12
No description provided.