[GH-ISSUE #5340] [Engine] macOS arm64 (Mac Studio M5 Ultra 256GB): engines 0.1.56/0.1.57 fail test-start hard — 'memory guard: the available RAM cannot be read' on every start since 0.1.52 #3186

Open
opened 2026-11-07 14:38:44 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @takemo101 on GitHub (Nov 5, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5340

Environment

  • OS: macOS 27.0.1, arm64 (Mac Studio M5 Ultra, 256 GB unified RAM)
  • Engine: current 0.1.55 macos-arm64-metal — 0.1.56 and 0.1.57 both fail the test-start (feed sequence 120 and 121, both signed 5d1bc23abbeffd0d)
  • Model: Qwen3.8-Flash-Next GSQ RCO IQ3_S (2 GGUF shards), preset iq3_s-128k with --expert-cache 64 --prefill auto --spec 2 --mtp … --max-context 131072 --mmap-experts --vision
  • Strata installed via the signed release feed (strata update), model resident via strata launch --preset iq3_s-128k

What happened

strata update (automated nightly, 2026-11-04 and again 2026-11-06) downloads the new engine, verifies the signature, then the test-start aborts almost immediately — well inside the 10-minute window, so this is not the slow-complement-copy timeout seen in #5334, but a hard failure:

Test-starting engine 0.1.56 macos-arm64-metal before switching to it
Feed sequence 120, signed by 5d1bc23abbeffd0d
Engine  0.1.55   NOT changed: The new engine 0.1.56 did not start correctly on this computer, so it was not installed. Your current engine is unchanged. The engine reported a problem while it started. Run `strata update --force` to try again; if it fails again, report it with the log.

(same wording for 0.1.57, feed sequence 121)

What I believe connects it

Every runtime start on this Mac — from the very first logged start (2026-10-28, engine 0.1.52) through 0.1.55 today — logs the same warning at generate start:

strata generate: memory guard: the available RAM cannot be read; parking and session save/restore are refused

0.1.52–0.1.55 degrade gracefully on that (serve fine, but no parking and no session save/restore). The engines 0.1.56/0.1.57 appear to treat the same failed read as fatal during test-start ("The engine reported a problem while it started"). #5334's log shows the new engines size the page-locked expert-cache complement from an "available RAM" read (FileExpertSource: available RAM …), which is why I suspect the unreadable-available-RAM condition is what kills the new engines at startup on this machine.

Sanity checks from the shell (reads work fine from the OS side)

$ sysctl hw.memsize
hw.memsize: 274877906944
$ vm_stat        # page size 16384
Pages free:        326086.
Pages active:     8968241.
Pages inactive:   7053091.
$ memory_pressure
The system has 274877906944 (16777216 pages with a page size of 16384).

Happy to attach the engine log (/Users/<user>/.local/state/strata/launch/iq3_s-128k.engine.log) or run any probe you need — note that on macOS the .updates/logs/test-start-*.log location from #5334 does not exist in my tree (nothing under ~/.local/state/strata/components/.updates/logs/), so the test-start failure output seems to go nowhere persistent; if there is a switch to keep a macOS test-start log, that alone would help.

Originally created by @takemo101 on GitHub (Nov 5, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/5340 ## Environment - OS: macOS 27.0.1, arm64 (**Mac Studio M5 Ultra, 256 GB unified RAM**) - Engine: current `0.1.55 macos-arm64-metal` — **0.1.56 and 0.1.57 both fail the test-start** (feed sequence 120 and 121, both signed `5d1bc23abbeffd0d`) - Model: Qwen3.8-Flash-Next GSQ RCO **IQ3_S** (2 GGUF shards), preset `iq3_s-128k` with `--expert-cache 64 --prefill auto --spec 2 --mtp … --max-context 131072 --mmap-experts --vision` - Strata installed via the signed release feed (`strata update`), model resident via `strata launch --preset iq3_s-128k` ## What happened `strata update` (automated nightly, 2026-11-04 and again 2026-11-06) downloads the new engine, verifies the signature, then the **test-start aborts almost immediately** — well inside the 10-minute window, so this is not the slow-complement-copy timeout seen in #5334, but a hard failure: ```text Test-starting engine 0.1.56 macos-arm64-metal before switching to it Feed sequence 120, signed by 5d1bc23abbeffd0d Engine 0.1.55 NOT changed: The new engine 0.1.56 did not start correctly on this computer, so it was not installed. Your current engine is unchanged. The engine reported a problem while it started. Run `strata update --force` to try again; if it fails again, report it with the log. ``` (same wording for 0.1.57, feed sequence 121) ## What I believe connects it Every runtime start on this Mac — from the very first logged start (2026-10-28, engine 0.1.52) through 0.1.55 today — logs the same warning at generate start: ```text strata generate: memory guard: the available RAM cannot be read; parking and session save/restore are refused ``` 0.1.52–0.1.55 degrade gracefully on that (serve fine, but no parking and no session save/restore). The engines 0.1.56/0.1.57 appear to treat the same failed read as fatal during test-start ("The engine reported a problem while it started"). #5334's log shows the new engines size the page-locked expert-cache complement from an "available RAM" read (`FileExpertSource: available RAM …`), which is why I suspect the unreadable-available-RAM condition is what kills the new engines at startup on this machine. ## Sanity checks from the shell (reads work fine from the OS side) ```text $ sysctl hw.memsize hw.memsize: 274877906944 $ vm_stat # page size 16384 Pages free: 326086. Pages active: 8968241. Pages inactive: 7053091. $ memory_pressure The system has 274877906944 (16777216 pages with a page size of 16384). ``` Happy to attach the engine log (`/Users/<user>/.local/state/strata/launch/iq3_s-128k.engine.log`) or run any probe you need — note that on macOS the `.updates/logs/test-start-*.log` location from #5334 does not exist in my tree (nothing under `~/.local/state/strata/components/.updates/logs/`), so the test-start failure output seems to go nowhere persistent; if there is a switch to keep a macOS test-start log, that alone would help.
Author
Owner

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

  • Fill in "Area".
  • Fill in "Desktop app, Terminal or source?".
  • Fill in "Reproduction status".
  • Fill in "Strata version".
  • Fill in "Graphics card, memory and system".

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:6666051746 --> @github-actions[bot] commented on GitHub (Nov 5, 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: - [ ] Fill in "Area". - [ ] Fill in "Desktop app, Terminal or source?". - [ ] Fill in "Reproduction status". - [ ] Fill in "Strata version". - [ ] Fill in "Graphics card, memory and system". 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)
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#3186
No description provided.