mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5041] [Engine] The engine stopped unexpectedly (exit code -6) #2332
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#2332
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 @danielfcastro on GitHub (Nov 3, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5041
Just after the update - as it says below the version (engine 0.1.56) my configuration that I run since day 1 now presents this issue.
[ok] Strata is updated (engine 0.1.56). Start the model with ./setup.sh when you want it.
[dfcastro@desktop-papai Strata]$ ./setup.sh
Strata - Qwen3.8-Flash-Next on a normal PC (a GPU + system RAM + CPU)
[ok] GPU: GPU 0 (NVIDIA GeForce RTX 3060, 12 GB)
Starting qwen3.8-flash-next-coder-iq1_m: it loads about 30 GB into RAM and locks part of it for the GPU.
While it does, YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES (longer the first time after a
restart). That is normal: please wait and don't close this window - the browser opens when it is ready.
Later, closing this window stops the model.
Settings (strata-coder-iq1_m.json): --expert-cache auto --prefill auto --spec 4 --max-context 262144
--kv int8 --kv-resident 65536 --rope-scaling yarn --rope-scale 2 --control-vector-layer-range 4
--cvec-mode project --cvec-dir per-layer --vision --vram-reserve-mib 700 --pcie-frac 0.35
--spec-min-p 0.70; server 127.0.0.1:11434, gpu 0, fit_max_tokens true, reasoning_budget_tokens 32768
the vision encoder starts with the first picture (elastic) ...
loading the model (the first start takes a minute or two) ...
[strata] starting the engine: reading the model's weights ...
[strata] still starting (20 s) - please wait ...
[strata] loading the experts into RAM (about 30 GB) and locking part of them for the GPU.
YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES NOW - this is normal.
Please wait and don't close this window; the browser opens when it is ready.
[strata] still starting (50 s) - please wait ...
[strata] experts loaded: 23.42 GiB at 1.22 GiB/s (52 s so far)
[strata] filling the GPU's expert cache (718 experts, 1.38 GiB of VRAM) ...
[strata] almost ready ...
[strata] thinking budget: 32768 tokens (reasoning_budget_tokens; a request can set its own)
[strata] images: the image encoder starts with the first picture and stops after 120 s without one
ready: http://127.0.0.1:11434/v1 (OpenAI: /v1/chat/completions, Anthropic: /v1/messages, context 262144 tokens, images on)
open http://127.0.0.1:11434/ in a browser to chat; close this window to stop the model
[strata] reading the prompt: 209,250 tokens, 10 s so far
[strata] reading the prompt: 209,250 tokens, 20 s so far
[strata] reading the prompt: 209,250 tokens, 30 s so far
[strata] reading the prompt: 209,250 tokens, 40 s so far
[strata] reading the prompt: 209,250 tokens, 50 s so far
[strata] reading the prompt: 209,250 tokens, 60 s so far
[strata] reading the prompt: 209,250 tokens, 70 s so far
[strata] reading the prompt: 209,250 tokens, 80 s so far
[strata] the engine stopped unexpectedly (exit code -6). The usual cause is running out of RAM: Linux then ends the biggest program (check: sudo dmesg | grep -i -E 'killed process|out of memory'); Windows slows down instead. Close other programs or use a smaller model (Q2_0 / IQ2_XS). The next request starts the engine again. Its log: /home/dfcastro/Strata/strata-coder-iq1_m.log
[strata] done: 0 tokens in 83 s (no speed) (error, cancel=False)
[strata] the engine had stopped (exit code -6); starting it again (a minute or two) ...
[strata] starting the engine: reading the model's weights ...
[strata] loading the experts into RAM (about 30 GB) and locking part of them for the GPU.
YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES NOW - this is normal.
Please wait and don't close this window; the browser opens when it is ready.
[strata] still starting (27 s) - please wait ...
[strata] experts loaded: 23.42 GiB at 1.24 GiB/s (29 s so far)
[strata] filling the GPU's expert cache (763 experts, 1.47 GiB of VRAM) ...
[strata] almost ready ...
[strata] the engine is running again
[strata] reading the prompt: 209,250 tokens, 10 s so far
[strata] reading the prompt: 209,250 tokens, 20 s so far
[strata] reading the prompt: 209,250 tokens, 30 s so far
[strata] reading the prompt: 209,250 tokens, 40 s so far
[strata] reading the prompt: 209,250 tokens, 50 s so far
[strata] reading the prompt: 209,250 tokens, 60 s so far
[strata] reading the prompt: 209,250 tokens, 70 s so far
[strata] reading the prompt: 209,250 tokens, 80 s so far
[strata] the engine has said nothing for 90 s but is still working; it is not ended (the limit is engine_silence_s). If it is stuck, "engine_silence_s" can be set lower.
[strata] reading the prompt: 209,250 tokens, 90 s so far
[strata] reading the prompt: 209,250 tokens, 100 s so far
[strata] the engine stopped unexpectedly (exit code -6). The usual cause is running out of RAM: Linux then ends the biggest program (check: sudo dmesg | grep -i -E 'killed process|out of memory'); Windows slows down instead. Close other programs or use a smaller model (Q2_0 / IQ2_XS). The next request starts the engine again. Its log: /home/dfcastro/Strata/strata-coder-iq1_m.log
[strata] done: 0 tokens in 110 s (no speed) (error, cancel=False)
[strata] the engine had stopped (exit code -6); starting it again (a minute or two) ...
[strata] starting the engine: reading the model's weights ...
[strata] loading the experts into RAM (about 30 GB) and locking part of them for the GPU.
YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES NOW - this is normal.
Please wait and don't close this window; the browser opens when it is ready.
[strata] experts loaded: 23.42 GiB at 2.77 GiB/s (18 s so far)
[strata] filling the GPU's expert cache (936 experts, 1.81 GiB of VRAM) ...
[strata] almost ready ...
[strata] the engine is running again
[strata] reading the prompt: 209,250 tokens, 10 s so far
[strata] reading the prompt: 209,250 tokens, 20 s so far
[strata] reading the prompt: 209,250 tokens, 30 s so far
[strata] reading the prompt: 209,250 tokens, 40 s so far
[strata] reading the prompt: 209,250 tokens, 50 s so far
[strata] reading the prompt: 209,250 tokens, 60 s so far
[strata] reading the prompt: 209,250 tokens, 70 s so far
[strata] reading the prompt: 209,250 tokens, 80 s so far
[strata] the engine stopped unexpectedly (exit code -6). The usual cause is running out of RAM: Linux then ends the biggest program (check: sudo dmesg | grep -i -E 'killed process|out of memory'); Windows slows down instead. Close other programs or use a smaller model (Q2_0 / IQ2_XS). The next request starts the engine again. Its log: /home/dfcastro/Strata/strata-coder-iq1_m.log
[strata] done: 0 tokens in 84 s (no speed) (error, cancel=False)
[strata] the engine had stopped (exit code -6); starting it again (a minute or two) ...
[strata] starting the engine: reading the model's weights ...
[strata] loading the experts into RAM (about 30 GB) and locking part of them for the GPU.
YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES NOW - this is normal.
Please wait and don't close this window; the browser opens when it is ready.
[strata] experts loaded: 23.42 GiB at 1.92 GiB/s (22 s so far)
[strata] filling the GPU's expert cache (947 experts, 1.83 GiB of VRAM) ...
[strata] almost ready ...
[strata] the engine is running again
[strata] reading the prompt: 209,250 tokens, 10 s so far
[strata] reading the prompt: 209,250 tokens, 20 s so far
[strata] reading the prompt: 209,250 tokens, 30 s so far
[strata] reading the prompt: 209,250 tokens, 40 s so far
[strata] reading the prompt: 209,250 tokens, 50 s so far
[strata] reading the prompt: 209,250 tokens, 60 s so far
[strata] reading the prompt: 209,250 tokens, 70 s so far
[strata] reading the prompt: 209,250 tokens, 80 s so far
[strata] the engine stopped unexpectedly (exit code -6). The usual cause is running out of RAM: Linux then ends the biggest program (check: sudo dmesg | grep -i -E 'killed process|out of memory'); Windows slows down instead. Close other programs or use a smaller model (Q2_0 / IQ2_XS). The next request starts the engine again. Its log: /home/dfcastro/Strata/strata-coder-iq1_m.log
[strata] done: 0 tokens in 90 s (no speed) (error, cancel=False)
[strata] the engine had stopped (exit code -6); starting it again (a minute or two) ...
[strata] starting the engine: reading the model's weights ...
[strata] loading the experts into RAM (about 30 GB) and locking part of them for the GPU.
YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES NOW - this is normal.
Please wait and don't close this window; the browser opens when it is ready.
[strata] still starting (27 s) - please wait ...
[strata] experts loaded: 23.42 GiB at 1.28 GiB/s (28 s so far)
[strata] filling the GPU's expert cache (947 experts, 1.83 GiB of VRAM) ...
[strata] almost ready ...
[strata] the engine is running again
[strata] reading the prompt: 1,323 of 1,328 tokens, 2 s so far
[strata] thinking: 31 of budget 32768 (max 260808) tokens, 38.9 tok/s, 3 s
[strata] thinking: 74 of budget 32768 (max 260808) tokens, 40.8 tok/s, 4 s
[strata] thinking: 118 of budget 32768 (max 260808) tokens, 41.8 tok/s, 5 s
[strata] thinking: 156 of budget 32768 (max 260808) tokens, 40.5 tok/s, 6 s
[strata] thinking: 192 of budget 32768 (max 260808) tokens, 39.6 tok/s, 7 s
[strata] thinking: 240 of budget 32768 (max 260808) tokens, 40.8 tok/s, 8 s
[strata] thinking: 287 of budget 32768 (max 260808) tokens, 41.6 tok/s, 9 s
[strata] thinking: 328 of budget 32768 (max 260808) tokens, 41.4 tok/s, 10 s
[strata] done: 367 tokens in 11 s (41.2 tok/s) (stop, cancel=False), expert cache 55.4% hit (+13.0% of the routed experts over PCIe)
[strata] reading the prompt: 6,968 tokens, 10 s so far
[strata] reading the prompt: 6,968 tokens, 20 s so far
[strata] reading the prompt: 6,968 tokens, 30 s so far
[strata] reading the prompt: 6,968 tokens, 40 s so far
[strata] reading the prompt: 6,968 tokens, 50 s so far
[strata] reading the prompt: 6,968 tokens, 60 s so far
[strata] reading the prompt: 6,968 tokens, 70 s so far
[strata] reading the prompt: 6,968 tokens, 80 s so far
[strata] the engine has said nothing for 90 s but is still working; it is not ended (the limit is engine_silence_s). If it is stuck, "engine_silence_s" can be set lower.
Then I tried to run bench.sh
[dfcastro@desktop-papai Strata]$ ./bench.sh
Quick speed check. For results other people can compare with (the standard benchmark, a few minutes), run: .venv/bin/python strata.py bench run
Starting strata-coder-iq1_m.json on port 11434 (loading takes 1-3 minutes; the PC may be slow meanwhile) ...
still loading (0 s) ...
Running the suite (about 3-10 minutes) ...
warming up (not measured) ...
calibrated: about 1.08 tokens per word
chat: 3 short questions x 3 runs, up to 100 new tokens
run 1 q1: decode 52.1 tok/s, first token 0.764 s, 100 tokens
run 1 q2: decode 37.3 tok/s, first token 0.665 s, 100 tokens
run 1 q3: decode 37.6 tok/s, first token 0.769 s, 100 tokens
run 2 q1: decode 48.1 tok/s, first token 0.845 s, 100 tokens
run 2 q2: decode 38.8 tok/s, first token 0.661 s, 100 tokens
run 2 q3: decode 38.0 tok/s, first token 0.761 s, 100 tokens
run 3 q1: decode 49.2 tok/s, first token 0.84 s, 100 tokens
run 3 q2: decode 39.0 tok/s, first token 0.649 s, 100 tokens
run 3 q3: decode 37.5 tok/s, first token 0.767 s, 100 tokens
4K prompt: 3 fresh prompts of about 4096 tokens, 24 new tokens
run 1: 4019 tokens, prompt 1187.6 tok/s (0 reused), first token 3.43 s
run 2: 4019 tokens, prompt 1179.4 tok/s (0 reused), first token 3.445 s
run 3: 4019 tokens, prompt 1192.8 tok/s (0 reused), first token 3.404 s
16K prompt: 3 fresh prompts of about 16384 tokens, 24 new tokens
FAILED: {'type': 'server_error', 'message': 'the engine stopped unexpectedly (exit code -6); the next request restarts it'}
FAILED: {'type': 'server_error', 'message': 'the engine stopped unexpectedly (exit code -6); the next request restarts it'}
[strata] reading the prompt: 6,968 tokens, 90 s so far
[strata] the engine stopped unexpectedly (exit code -6). The usual cause is running out of RAM: Linux then ends the biggest program (check: sudo dmesg | grep -i -E 'killed process|out of memory'); Windows slows down instead. Close other programs or use a smaller model (Q2_0 / IQ2_XS). The next request starts the engine again. Its log: /home/dfcastro/Strata/strata-coder-iq1_m.log
[strata] done: 0 tokens in 98 s (no speed) (error, cancel=False)
[strata] the engine had stopped (exit code -6); starting it again (a minute or two) ...
[strata] starting the engine: reading the model's weights ...
[strata] loading the experts into RAM (about 30 GB) and locking part of them for the GPU.
YOUR PC CAN BE SLOW OR STOP RESPONDING FOR 1-3 MINUTES NOW - this is normal.
Please wait and don't close this window; the browser opens when it is ready.
@github-actions[bot] commented on GitHub (Nov 3, 2026):
Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:
Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment
/reopen.Details: CONTRIBUTING.md
@github-actions[bot] commented on GitHub (Nov 3, 2026):
Thanks, this follows the format now.