Repository navigation
Closed
Description
Summary
During a bundle pull, several proxies stall the client's stripe legs for 30 s at once (upstream stalled: no progress for 30s), and the client drops each one. The node side shows no fault. The leading hypothesis is on the client: a leg's reader is starved while ingest waits on checkpoint durability, and the stall floor counts that time against the provider. Not proven.
Evidence (testnet, 2026-09-28, CLI and fleet on 8886c85c)
The client WARNs for entry 7cbb4846…:
| Time (UTC) | Provider | Warning |
|---|---|---|
| 07:47:54 | fra1 0xa43d… |
left the stripe |
| 08:07:42 | nbg1 0x6B82… |
left the stripe |
| 08:08:22 | — | a concurrent gap of the same range set also failed |
| 08:08:26 | lon1 0x797e… |
left the stripe |
The 06:19–06:22 run had the same pattern: three providers in 3 minutes.
Node side, no fault found:
- fra1. Its only failure in the window is
serve_stream_client_abandoned/node_pull_through_client_abandoned. A concurrent fra1 leg of the same hash completed normally at 07:47:45–48 (tracef274c9e6…). - nbg1. No
node_pull_through_wait_secondspause over 30 s in the run, and no WARN in Loki. - lon1. The only span (
4acd40a2…, a 5 MB leg) starts exactly 30 s before the fault and ends server-side after 2.9 s ascompleted. - bcl. Only
client_declinedandclient_abandoned. Signer-cap, pool-exhausted, voucher-rejected and proof-budget counters are 0. No buyer top-ups on any proxy.
Hypotheses (not confirmed)
- Client read starvation.
read_under_floor(crates/client/src/lib.rs:3145-3178) samples only whilenext_chunkis polled.ingest_streamblocks whenINGEST_MAX_QUEUED_CHECKPOINTS(3) are not yet durable (crates/client/src/ranged_store.rs:524).- Several multi-GB entries were being written at once (sys time 3m44s). This fits several providers stalling together, and lon1 completing server-side.
- A proxy pull pause that never wakes, ended by the client just under 30 s. Serve-demand liveness only looks within one chunk group of the pull frontier (
crates/client/src/pacer.rs:321-346). - An Attach claim paced by another payer's stream. No counter exists for attaches.
Next step
- Log each client leg: provider,
byte_offset,byte_len, open time, andcumulative/ expected wire bytes at the stall. Also log the timeingest_streamwaits on checkpoints. - Rerun the pull.
- For one stalled leg, find the proxy's
serve_streamwith the samebyte_offset. If it completed or never paused, the cause is on the client (hypothesis 1).
Blocked in part by the Tempo span loss (#2210).
Related
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
None yet
Projects
- StatusShow more project fieldsDone
Activity
fix(cli,client): batch fix bundle-pull lane, watchdog and dedup bugs (#…
thiras commentedon Sep 28, 2026
A node-side candidate for these stalls is #2222. Proxy pulls for concurrent stripes of one blob stall after a few floor-sized legs, because serve demand is a single hash-wide max. The serve then waits on the pull until the client stops it at about 40 s. It was seen on fra1 and nbg1 on 2026-09-28 (traces in #2222). This goes against the "no node-side fault" reading above:
pull still pauseddoes not fire, because the pause restarts whenever the shared demand moves.altanoruc commentedon Oct 1, 2026
A 21 s client-side silence, then 12 lanes on 3 nodes fault at once with no node-side fault (2026-10-01, CLI
ef4bb891)This is from a 24-run batch (VPN off, all runs
rc=0), run 13 (SDXL).Client log. The last line before the gap is at 01:50:23.199 (a discovery). The next is at 01:50:44.109, so nothing was logged for 21 s. Over the next 34 s, 12 lanes on fra1, bcl and nbg1 fault across 4 blobs:
5aee6bda…1b9b95e9…5aee6bda…11e20da0…5aee6bda…d4b89247…11e20da0…d4b89247…,11e20da0…,1b9b95e9…,5aee6bda…Node side. For fra1, bcl and nbg1 between 01:50:15 and 01:51:25, Loki has no WARN or ERROR. The only matching lines are the
eth_getLogs window failed … error code 19retries from #2253.Many providers fault at once after a client-side logging gap, and the nodes see nothing. That fits the client-starvation hypothesis above better than any node-side cause. Smaller versions of the same shape: run 8 at 23:14:31–54 (7 bcl lanes, 4 blobs, all within 23 s), and run 7 at 22:57:43–51 (fra1 and nbg1, 3 lanes).
🤖 Generated with Claude Code
fix(cli): order a command's blocking writes and settle from the lowes…
fix(client,cli): keep the bundle task polled while records and fsyncs…
fix(cli): order a command's blocking writes and settle from the lowes…
fix(client,cli): make queued state writes panic-safe and durable befo…
fix(client,cli): keep the bundle task polled while records and fsyncs…
thiras commentedon Oct 2, 2026
Fixed by #2274, together with #2272, #2287 and #2273.
.rangesfsync inline, which paused every lane of that entry.phase=\"first_frame\"stall line.If a live pull shows the stall again, look for
the bundle task was not polledin the client log and reopen.altanoruc commentedon Oct 2, 2026
Recurs on
c2fae664(after #2274): watchdog trips on several providers within one second, and the "not polled" WARN does not fireMistral bundle pull (
--hash 9194000d…af69e5), same client as above, 2026-10-02. The CLI was built fromc2fae664, which includes #2274, #2272 and #2293. The fleet is unchanged.no verified progress for 10sfaultsRun 4 is the clean case. The run went through Wi-Fi with no VPN. All 36 faults landed between 12:55:11 and 12:57:4x, plus one at 13:01. They came in three clusters:
0xa43d…and nbg10x6B82…, 6 ms apart.0xDb0E…and hel10xEE08….0xAFb6…, nbg1, ash1 and hel1.Every leg had already landed bytes. One example:
offset=2281701376 len=536870912 landed=49086464 uncovered=false fault=Source.What #2274's diagnostics show:
the bundle task was not polledWARN in any of the 6 runs.phase="first_frame"stall line either.-vthe log is often quiet for 5–25 s, so this is weak evidence.Node side:
invalid handshake(22),accept_bi failed: closed by peer(8),multiplexed poller tick error(4), one nbg1probe request read failed, and one lon1 probe writeconnection lost. In 12:54–12:58 there are two handshake aborts at 12:57:13, which matches no cluster.sum(decdn_bytes_served_total)was 20–25 MB/s during 12:55–12:57. It was 35–45 MB/s in 12:58–13:00, and 35–41 MB/s in run 5, which had no faults.Open question: when every lane stops at the same moment, either the client stopped reading or the client's link dropped for about 10 s. The current logs cannot tell these apart. A client-wide counter would decide it: bytes received on all lanes in the 10 s before a trip, logged next to the fault. If the counter is 0, the link dropped. If bytes kept arriving, the reader starved.
🤖 Generated with Claude Code