Scale: the hour after any restart. The idle sweep walks awake cells and awaits each stop in turn (src/spawn/cell.ts:486-497, called from sleepIdleChildrensrc/spawn/host.ts:212-237, on a timer of a quarter of the idle time, at most 60 s, :455-462). Each stop is the 15 s grace of the issue before this one.
Measured: 12 forges idle together began to sleep at 01:07:11Z and the sweep logged them asleep at 01:08:34Z and 01:08:38Z (87 s); four probes at 01:15:11Z took 46 s. The names are logged only when the whole pass ends, so the log's time is not when each slept. Meanwhile the pass holds the spawn-idle job (stalls of 263 to 673 ms are blamed on it in the log) and the next pass waits.
After a release every forge is awake at once (see the boot issue), so with 1,000 forges the first sweep would run for 3 to 4 hours.
Wanted: stop the idle ones together, a bounded number at a time; log each as it sleeps; and the clean exit of the issue before this one, so a sleep costs milliseconds.
Measured on production 0.7.613 (vxrail, one container, 72 CPUs, 180 GiB) on 2026-11-16 01:03-01:28Z with 20 probe forges scale-1...scale-20 (size small), all removed since. Full table: scratchpad/scale-hosting.md in the mitosis repository. Line numbers are at 9fae75f15.
Scale: the hour after any restart. The idle sweep walks awake cells and awaits each stop in turn (
src/spawn/cell.ts:486-497, called fromsleepIdleChildrensrc/spawn/host.ts:212-237, on a timer of a quarter of the idle time, at most 60 s,:455-462). Each stop is the 15 s grace of the issue before this one.Measured: 12 forges idle together began to sleep at 01:07:11Z and the sweep logged them asleep at 01:08:34Z and 01:08:38Z (87 s); four probes at 01:15:11Z took 46 s. The names are logged only when the whole pass ends, so the log's time is not when each slept. Meanwhile the pass holds the
spawn-idlejob (stalls of 263 to 673 ms are blamed on it in the log) and the next pass waits.After a release every forge is awake at once (see the boot issue), so with 1,000 forges the first sweep would run for 3 to 4 hours.
Wanted: stop the idle ones together, a bounded number at a time; log each as it sleeps; and the clean exit of the issue before this one, so a sleep costs milliseconds.
Measured on production 0.7.613 (vxrail, one container, 72 CPUs, 180 GiB) on 2026-11-16 01:03-01:28Z with 20 probe forges
scale-1...scale-20(size small), all removed since. Full table:scratchpad/scale-hosting.mdin the mitosis repository. Line numbers are at9fae75f15.