mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #215] Every engine exit is reported as "probably out of RAM", even when the engine's log names the cause #112
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#112
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 @alphastorm on GitHub (Sep 30, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/215
When the engine process ends during a request, the server prints
death_note()(serve/server.py#L205-L221, used at #L856-L862). Unless the end of the log has the watchdog'sissue #29line, the note is always "The usual cause is running out of RAM ... Close other programs or use a smaller model". It does not look at the exit code or at the engine's own last log line.We saw this on Windows 11 after the crash from #183 (exit code 1, the log ends with
strata serve: cancelled) and after deliberately killing the engine mid-generation; neither had anything to do with memory. The note points users at RAM while the log already names the cause, and by its own text it cannot apply on Windows ("Windows slows down instead").Reproduce (no GPU)
A stand-in engine that fails its first request the way #183's engine does, saved as
fake_engine.py(executable) in the checkout root:Output:
Suggested
Give the RAM explanation only when the exit looks like the OS killed the engine (on Linux a negative return code, -9 for the OOM killer's SIGKILL), and otherwise print the exit code and the last
strata ...line of the log, whichdeath_note()already reads.@Niko1221 commented on GitHub (Sep 30, 2026):
Agreed. In 0.1.28 (in testing) the message quotes the engine's exit code and its last log line; the RAM hint only appears when the OS killed the engine.
@Niko1221 commented on GitHub (Sep 30, 2026):
Fixed in 0.1.28: the message quotes the engine's exit code and last log line; the RAM hint only appears when the OS killed the engine.