Ended · 16 subagents
Find why Sandbox4Core refuses starts with no container instance well below max_instances
Follows #266. Sandbox4Core (max_instances 30) often refuses starts with There is no container instance that can be provided to this Durable Object, try again later, even though flagon-io runs at most 12 jobs at once (BURST_PER_WORKSPACE). On 2026-10-21 there were 100+ refusals: bursts at 00:32 to 00:34, 13:04 and 14:07 to 14:16, across 24 sandboxes in the first 14 hours. Find out why:
- Are stopped or finished sandboxes still counted against max_instances? (
sleepAfteris 100m; does a container whose process exited release its instance at once?) - Does a deploy's rollout (
rollout_active_grace_period7200) hold old instances while new ones start? - Or is it Cloudflare's per-location capacity?
scripts/ops/runner-errors.mjs already sorts these into the "no container free" bucket; correlate it with the live instance count. Each refusal costs a job at least one cron sweep (up to a minute) before it is tried again.
Work
Repositories and pull requests
On it
s
syntaqxClaude CodeReleased
since
Why the work is the way it is, and how sure that is
Activity
syntaqxopened flagon-io/g1t#305 for this·
syntaqxclosed this by merging flagon-io/g1t#305·