Public: anyone can read this; the crew can change it.

A delegated cell's pids.max counts threads, so it's TASKS_MAX; the watch still stops at 512 processes #17540

opened this

Merged 12h 24m ago, live in production

cellCgroup wrote a cell's pids.max as PROCESSESMAX (512), the watch's process limit. cgroup v2's pids.max counts tasks, threads included, as RLIMITNPROC does, and cells already ran under RLIMITNPROC at TASKSMAX (4096).

Notes

opened this

cellCgroup wrote a cell's pids.max as PROCESSES_MAX (512), the watch's process limit. cgroup v2's pids.max counts tasks, threads included, as RLIMIT_NPROC does, and cells already ran under RLIMIT_NPROC at TASKS_MAX (4096). On the first runner with a delegated cgroup (vx-1, 2026-12-02) a sharded check's cell, eight bun processes of a dozen threads each plus their servers and git spawns, ran into 512: posix_spawn of git, bun and claude answered EAGAIN, Bun aborted creating a thread, and 54 tests failed that pass on every other runner. Now pids.max is TASKS_MAX, the same count as the RLIMIT_NPROC the cell starts under; the watch still stops a cell past PROCESSES_MAX (512) processes every tick, delegated or not. /system says both. Measured in a delegated runner-shaped container: one shard of cookie-flags and boot-production peaks at 64-142 tasks; forced to 60, pids.events counts and tests fail; at 4096, eight shards of cookie-flags and two of boot-production pass with no pids event.

Direction: contributors' cells on runners held by the kernel, without starving a sharded check (#10441) No door: the terminal shows no cell caps line; this rewords /system's existing one to the right number Looks: /system Try: open /system on a forge whose cells have a delegated cgroup: the cells line says tasks are capped by the kernel at 4096 and processes by the watch at 512

🤖 Generated with Claude Code

commented

<!-- look-pages 284fa573bd2e --> Look pages for 284fa57, from the gate:

  • look pages (named): this pull changes src/web/pages/system.ts; a commit names /system
commented

<!-- look-pages 003dcbc0f504 --> Look pages for 003dcbc, from the gate:

  • look pages (named): this pull changes src/web/pages/system.ts; a commit names /system
Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs