mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4682] [Engine] 0.1.54: deep cold prompt replay still stalls 60 s on __iomap_dio_rw x16 -> watchdog kills the engine (Linux/Docker, 5060 Ti 16GB + 64GB RAM) #2136
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#2136
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hejm2000 on GitHub (Oct 30, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4682
Summary
On serve 0.2.8 / engine 0.1.54 (Linux, Docker, RTX 5060 Ti 16 GB + 64 GB RAM, single-GPU slot, NVMe btrfs volume), the "engine stopped unexpectedly" family that plagued 0.1.46/0.1.47 still fires: two deep cold-prompt replays stalled 60 s at
reading the prompt (batched): layer 1with 16 threads in state D inside__iomap_dio_rw— identical signature to the 0.1.46/0.1.47 stall reports, one day after the upgrade. The VRAM-side (#2065) and swap-side pressures were eliminated on this host before those two deaths, which isolates the remaining cause to the--ple-io directrandom-read layer.Environment
--ple-io direct(default path),--max-context 155000,--vram-reserve-mib 700engine stopped unexpectedly; each death costs a full engine reload (~123 s) before the retry succeedsDeath ledger (our side)
engine stopped unexpectedly— exit -6 (SIGABRT from the stall watchdog) and stream-kill (exit None) variants; the recorded stall reports show request-start VRAM free 122-314 MiB with host swap 1.7-1.9 GiB, same stage line and same__iomap_dio_rwx16 line as the 0.1.54 reports above. A five-death run 22:22→10:33 (10-26/10-27, engine 0.1.47) plus two post-restart cold-window deaths are on our ledger with character-identical signatures.--vram-reserve-mib 700; the stall signature kept firing on 0.1.47 with the same shape.Both were deep conversations replaying a cold prompt (~81K / ~158K token positions); client saw
engine stopped unexpectedly (exit -6) / The engine says it stopped because it made no progress for 60 s during a request (issue #29). See issue #29 and its watchdog-abandon note.Stall reports from 0.1.54 (verbatim, launch/docker.engine.log)
(The 60 s window for this request advanced 158659 -> 158662 = 3 tokens total — measurable movement, then a hard stop; the engine was alive and blocked on I/O, not wedged in software.)
For contrast, the 0.1.46-era report (same stage, same
__iomap_dio_rwx16, VRAM free 312-314 MiB, swap 1.7-1.9 GiB) — the stage line and D-state line are character-for-character identical across engine versions.What we eliminated on this host (differential)
--vram-reserve-mib 700+ the 0.2.8 sizing work — the LOW-VRAM annotation is gone from the new reports, the stall is not.__iomap_dio_rwkeeps them in uninterruptible D for the full 60 s.What is left standing is the
--ple-io directpath itself: the same 16__iomap_dio_rwD threads the watchdog blames in its own report text (#605 lineage), unchanged in 0.1.54.Related closed issues this revives
--ple-io directat 1-3 MB/s of random 4 KiB reads, then 60 s no-progress + 16 D threads). Closed 10-15 with the reporter's own note that--ple-io mmap"was rejected by server.py" andSTRATA_PLE_AUTO_MMAP"had no effect in the env"; they survived by settingSTRATA_WATCHDOG_S=180. No maintainer follow-up.STRATA_ARENA_RAM_WAIT_S"); our deaths are mid-request stall reports, not handover wedges, so we could not tell from the changelog whether anything touched this read path.Questions / asks
--ple-io mmapaccepted on this stack, and through which channel? #2267 suggests the server rejects the launch argument and the env knob is a no-op — if mmap (or--ple-io ramwith a table this size) is not the supported remedy on a Docker/NVMe host with a thin RAM budget, what is?__iomap_dio_rwD) — abort on no-progress-plus-not-waiting-disk, rather than killing an engine that is demonstrably alive and blocked on I/O? Our two deaths both had measurable (3-4 token) window movement and a full D-state account.Data available on request: full stall report pairs (0.1.46/47 vs 0.1.54), request ledger from
/api/requests, and the death notes from launch-docker.server.log for both 0.1.54 deaths.