{"version":"2.1.326","anchor":"bash-tool-processes-capped-via-a-pids-cgroup","canonical_anchor":"bash-tool-processes-capped-via-a-pids-cgroup","heading":"Bash commands can be capped on how many processes they start","tier":"soon","area":"Bash Tool","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/bash-tool-processes-capped-via-a-pids-cgroup","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### Bash commands can be capped on how many processes they start\n\nWhen enabled, Bash commands run in their own process group with a process limit, so a runaway command cannot use up every process slot in the container\n\n**What**\n\nWhen a remote switch is on, Claude Code places the commands it runs through its Bash tool in their own Linux cgroup. A cgroup is a kernel feature that groups processes so limits can be applied to them together. This group is named `cc-shell` and sits under `\/sys\/fs\/cgroup\/pids`. Its limit on the number of processes is set slightly below the limit for the whole workload.\n\nClaude Code records when it sets this limit. If the limit cannot be set, the command still runs normally.\n\n**Why**\n\nA command that keeps starting new processes, such as a fork bomb, can no longer use up every process slot and bring down the whole container Claude Code runs in. Because a failure to set the limit does not block anything, setups that do not support it keep working as before.\n\n- Flag `tengu_roomy_burrow`: Not enough to say (read for one account on one subscription tier against v2.1.326; this account: no value returned, anonymous baseline: no value returned, compiled default: on) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: Bash Tool\n- Names: `tengu_roomy_burrow`\n- Tier: Nothing to try yet\n- Useful: 3\/5\n- Signal: 4\/5\n- Scope: individual\n- Heads-up: no\n- Present in the build but not switched on"}