[GH-ISSUE #4363] 0.1.44.1 HIP: 4 watchdog-caught hangs in one evening — prefill chunk boundaries (16k/32k) and conversation parking #1930

Closed
opened 2026-11-04 01:55:24 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @ChazPounder78 on GitHub (Oct 27, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4363

Engine 0.1.44.1, HIP (gfx1100 / RX 7900 XTX), qwen3.8-flash-next IQ3_S, KV int8, 131k ctx, MTP spec-decode on.

The #29 watchdog caught 4 hangs in one evening of normal server use (TUI chat + an agent worker, gate in front, conversation parking on). Each time the watchdog self-killed (SIGABRT + core dump), the supervisor restarted the engine (~30 s), and the retried request ran fine — so the hang is not reproducible on demand, but it recurs (~4×/evening) and each occurrence costs the user ~3 minutes.

The four stall lines from today (2026-10-27):

no progress for 60 s during a request (reading the prompt (batched): layer 18 of the prompt chunk from token 16622)
no progress for 60 s during a request (reading the prompt (batched): layer 4 of the prompt chunk from token 16673)
no progress for 60 s during a request (reading the prompt (batched): layer 20 of the prompt chunk from token 32768)
no progress for 60 s during a request (request: parking the previous conversation -1)

Three are mid-prefill at chunk boundaries (16622/16673 ≈ the 16k chunk edge, 32768 = the 32k edge, --prefill auto:32768), one is during conversation parking.

Fullest stall report (the parking hang):

stall report (engine 0.1.44.1): stage "request: parking the previous conversation -1" for 59 s; 0 layers served since the last finished step (0 = stopped, more = slow)
  VRAM free when this request began: 3266 MiB
  expert pool: epoch 2033998, batch epoch 2033998: 48 of 48 jobs claimed, 48 done; 15 of 15 workers parked, 15 sleeping; mode 0
  expert pool threads: w0..w14 all sleeping; host idle for 84947 ms
  verify window (last window, not the current stage): 4 tokens at position 42895, host at layer step 48; the GPU rang 48; flags: served 48, plan (A) 48, copies (B) 48
  threads waiting on the disk (state D): 0 of 71
  memory: 50414 MiB resident, 3963 MiB in swap, 12564 MiB RAM available; 3571762 major page faults so far
  2 s later: identical, host idle for 86963 ms

Everything idle, 0 layers served, no disk wait, RAM fine — looks like a lost wakeup/deadlock rather than I/O thrash. Parking normally works (same log: conversation cache: parked 140490 tokens in 54.1 ms).

Command line:

strata --serve --pack iq3_s --native Qwen3.8-Flash-Next-...-IQ3_S-00001-of-00002.gguf --ple-gguf ...-00002-of-00002.gguf --expert-profile expert-profile-learned.bin --expert-cache auto --prefill auto:32768 --spec 4 --spec-min-p 0.5 --mtp rt --max-context 131072 --kv int8 --kv-resident 32768 --vram-reserve-mib 3584 --conversation-cache-mib 6144 --conversation-cache-slots 3 --conversation-cache-min-free-mib 512 --conversation-cache-min-tokens 8192 --resident-budget-gib 40 --adapt-async 1 --aux-cpus auto --mtp-draft-vocab draft_vocab_en.bin --vision

Happy to run any build with extra logging around the chunk boundary / parking path.

Originally created by @ChazPounder78 on GitHub (Oct 27, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/4363 **Engine 0.1.44.1, HIP (gfx1100 / RX 7900 XTX), qwen3.8-flash-next IQ3_S, KV int8, 131k ctx, MTP spec-decode on.** The #29 watchdog caught 4 hangs in one evening of normal server use (TUI chat + an agent worker, gate in front, conversation parking on). Each time the watchdog self-killed (SIGABRT + core dump), the supervisor restarted the engine (~30 s), and the retried request ran fine — so the hang is not reproducible on demand, but it recurs (~4×/evening) and each occurrence costs the user ~3 minutes. The four stall lines from today (2026-10-27): ``` no progress for 60 s during a request (reading the prompt (batched): layer 18 of the prompt chunk from token 16622) no progress for 60 s during a request (reading the prompt (batched): layer 4 of the prompt chunk from token 16673) no progress for 60 s during a request (reading the prompt (batched): layer 20 of the prompt chunk from token 32768) no progress for 60 s during a request (request: parking the previous conversation -1) ``` Three are mid-prefill at chunk boundaries (16622/16673 ≈ the 16k chunk edge, 32768 = the 32k edge, `--prefill auto:32768`), one is during conversation parking. Fullest stall report (the parking hang): ``` stall report (engine 0.1.44.1): stage "request: parking the previous conversation -1" for 59 s; 0 layers served since the last finished step (0 = stopped, more = slow) VRAM free when this request began: 3266 MiB expert pool: epoch 2033998, batch epoch 2033998: 48 of 48 jobs claimed, 48 done; 15 of 15 workers parked, 15 sleeping; mode 0 expert pool threads: w0..w14 all sleeping; host idle for 84947 ms verify window (last window, not the current stage): 4 tokens at position 42895, host at layer step 48; the GPU rang 48; flags: served 48, plan (A) 48, copies (B) 48 threads waiting on the disk (state D): 0 of 71 memory: 50414 MiB resident, 3963 MiB in swap, 12564 MiB RAM available; 3571762 major page faults so far 2 s later: identical, host idle for 86963 ms ``` Everything idle, 0 layers served, no disk wait, RAM fine — looks like a lost wakeup/deadlock rather than I/O thrash. Parking normally works (same log: `conversation cache: parked 140490 tokens in 54.1 ms`). Command line: ``` strata --serve --pack iq3_s --native Qwen3.8-Flash-Next-...-IQ3_S-00001-of-00002.gguf --ple-gguf ...-00002-of-00002.gguf --expert-profile expert-profile-learned.bin --expert-cache auto --prefill auto:32768 --spec 4 --spec-min-p 0.5 --mtp rt --max-context 131072 --kv int8 --kv-resident 32768 --vram-reserve-mib 3584 --conversation-cache-mib 6144 --conversation-cache-slots 3 --conversation-cache-min-free-mib 512 --conversation-cache-min-tokens 8192 --resident-budget-gib 40 --adapt-async 1 --aux-cpus auto --mtp-draft-vocab draft_vocab_en.bin --vision ``` Happy to run any build with extra logging around the chunk boundary / parking path.
bsakaguchi 2026-11-04 01:55:24 +07:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 27, 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:

  • Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes".

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

<!-- gh-comment-id:6453549731 --> @github-actions[bot] commented on GitHub (Oct 27, 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: - [ ] Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes". 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](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@github-actions[bot] commented on GitHub (Nov 2, 2026):

Closing this issue because it still did not follow the format after 5 days. That is housekeeping, not a rejection.

To bring it back: fix the title (area prefix) and the missing parts, then comment /reopen. A check runs and reopens it, or tells you what is still missing. See CONTRIBUTING.md.

<!-- gh-comment-id:6569022359 --> @github-actions[bot] commented on GitHub (Nov 2, 2026): Closing this issue because it still did not follow the format after 5 days. That is housekeeping, not a rejection. To bring it back: fix the title (area prefix) and the missing parts, then comment `/reopen`. A check runs and reopens it, or tells you what is still missing. See [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#1930
No description provided.