Sprite storage wedges while VM stays `running`: all disk I/O hangs, exec unusable, /checkpoints and /services hang forever — twice in 8 days
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Attiva
- Stack tecnologico
- sqlite
- Ambito
- infrastructure
Direzione di ricerca
Inizia con lo sprite bloccato conservato, i log del supervisor e il percorso checkpoint-clone più staging-flush. Esamina i fallimenti dello staging di JuiceFS intorno a cached_store.go:1038 e confrontali con le evidenze di overlay EIO e con l’issue #229. Il lavoro è completato quando è stata identificata la causa del blocco, è stato definito il rilevamento degli sprite che risultano falsamente ancora in esecuzione ed è stato documentato un percorso di recupero che preservi il disco.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Symptom
A sprite's disk I/O wedges permanently below the filesystem while the VM stays running. Everything that touches the overlay hangs forever; the supervisor keeps answering HTTP and refreshing its lease, so from the outside the sprite looks healthy while being completely unusable. The only remedy we have found is sprite destroy, i.e. total loss of the disk.
This has now happened twice in 8 days to the same workload, on two different sprites with different volumes:
- 2026-08-24 (supervisor 0.0.1-rc47), org
junchao-yan, region sjc. Resolved bysprite destroyat ~14:20 UTC. - 2026-09-01 (supervisor 0.0.1-rc48), org
junchao-yan, spritebuzz-agent-276883e88d5a, idsprite-1a3bd078-3c45-4637-8b95-dc320b271ebd, created 2026-08-27. Wedge onset between 13:05 and 17:33 UTC. This sprite is in the wedged state right now — tell us if you want it preserved for inspection, otherwise we will destroy it to restore service.
Observed state (both occurrences)
GET /v1/sprites/{name}→ status steadyrunning(no cold/warm flapping); lease refreshes succeed on schedule (refreshCountadvancing).GET /v1/sprites/{name}/exec(session list) answers instantly.GET /v1/sprites/{name}/checkpointsandGET /v1/sprites/{name}/serviceshang forever (0 bytes, >25 s, repeatable).- Supervisor
/logsshows each incoming exec request and then nothing — no session start, no error, no container event.
Exec behavior differed by page-cache warmth:
- 08-24 (VM up ~8 h, cache warm): exec sessions were created,
bashspawned, builtins worked — but any command touching a cold file entered uninterruptible D-state, immune to the supervisor's SIGTERM→SIGKILL. Evencatof a tiny file never returned. ~27 zombie exec sessions accumulated from client retries. - 09-01 (VM re-entered running at 17:33 UTC, cache cold): even
bashcannot spawn — no exec session is created at all; the client getsError: connection closedafter ~45 s (gateway timeout). SDK callers see their own budgets expire (exec did not finish within 30s).
Storage-layer evidence from sibling sprites, same org
- A sibling sprite logged a burst of JuiceFS staging errors during its suspend flush (2026-08-27 02:57 UTC):
Open staging file /dev/fly_vol/juicefs/cache/<uuid>/rawstaging/chunks/0/57/…: invalid file size 0, data length <N>(cached_store.go:1038,uploadStagingFile) — dozens of chunks, each with a zero-length staging file that should have held data. - A third incident on 2026-08-22 (different sprite, same org) was overlay corruption presenting as a container crash-loop:
dumpe2fson the preserved snapshot showed first error__ext4_find_entry err=EIO(a failed read from the loop image) followed by 75EFSBADCRCdirectory-checksum errors — storage failing under the filesystem.
Workload correlate (possible repro direction)
The affected agent workload is fsync-heavy small writes: a coding-agent CLI journaling continuously to a SQLite database on the overlay (measured ~10k rows / 5.5 min), plus frequent suspend/resume cycles (~15 auto-checkpoints/day), each running the checkpoint-clone + staging-flush path. The wedge has followed this workload across two different sprites/volumes; sibling sprites without the SQLite churn have not wedged. This looks adjacent to #229 (sustained heavy I/O → overlay unmount + SIGKILL) but the failure mode here is a silent permanent hang, not a kill.
What we need
- Root cause on the staging/overlay write path (
rawstagingchunks withinvalid file size 0looks like the smoking gun). - Detection: a sprite in this state reports
runningand holds its lease, so nothing platform-side notices it is dead. - A disk-preserving recovery path — filed separately as a companion issue, since today the only exit is
destroy.
- Lingua principale
- MDX
- Stelle
- 53
- Fork
- 5
- Merge medio
- 1g 15h
- PR unite (30g)
- 4
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di superfly/sprites-docs
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
superfly/sprites-docs#226 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
superfly/sprites-docs#220 ·
I maintainer di solito rispondono entro 1 giorno
-
Add S3 Object Store, Anthropic, and Discourse to the connectors Providers tableForse di nuovo libera @kcmartin l’ha presa 85 giorni fa e non c’è nessuna pull request aperta. Aperta
superfly/sprites-docs#237 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
superfly/sprites-docs#231 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
superfly/sprites-docs#229 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di superfly/sprites-docs
Issue simili
-
Emulator tests fail on mainApertaarea: ci
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
GlassworksHQ/glassworks#1548 ·
I maintainer di solito rispondono entro 1 giorno
-
agent/quality testing
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
I maintainer di solito rispondono entro 1 giorno
-
ci
Difficoltà 2/5 Mezza giornata Idoneità per principianti 76/100
ft-dev-org/cloudbridge-oss#103 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement github_actions good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 94/100
I maintainer di solito rispondono entro 1 giorno
-
documentation ready size:S
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno