Desktop Quit: local model stop times out at 30 s per command on a busy machine and leaves the engine running
I maintainer di solito rispondono entro 1 giorno
@draarivpatel-ui ci sta già lavorando.
Dal 24/11/2026.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 18/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- linux, shell, typescript
Direzione di ricerca
Start in packages/local-installation/src/localmodels-tool.ts, where stopLocalmodels runs each step with timeoutMs: 30_000, and read the installer/local-models-stop.log path the issue quotes. Reproducing needs a loaded local model on Linux, which is hard for a newcomer. Two open pull requests (#670, #671) already target this, so check them before starting.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What happens
On a busy machine, the local model stop that Quit starts gives up after 30 s per localmodels command, and the engine and Bifrost stay running after Linger has quit. Nothing retries until the next launch.
Repro (Linux Desktop 0.1.8-rc.0, local model through the stack, host GPUs and CPU shared with other model workloads)
-
Local model loaded and serving Runs. Quit (SIGTERM, the same
before-quitpath as tray Quit). -
<home>/installer/local-models-stop.log:Stopping the local models (localmodels library status). Stopping the local models (localmodels stack down). Could not stop the local models in <home>: localmodels library status: Command timed out; localmodels stack down: Command timed out {"failed":[{"home":"<home>","message":"localmodels library status: Command timed out; localmodels stack down: Command timed out"}]} -
The stack's
strata-poly-servefrontend and twostrata-polyengine processes are still running, with their GPU memory, after the app is gone. -
Running the same helper by hand right after (
installer.js --home <home> --stop-local-models) took 66 s and failed again onlibrary unload <model>: Command timed out, though the engines did exit that time. The uninstaller's--stopthen finished in 42 s with{"failed":[]}.
Earlier quits in the same session, on the same install, finished in about 15 s with {"failed":[]}, so the margin is thin rather than always exceeded.
Why
stopLocalmodels (packages/local-installation/src/localmodels-tool.ts) runs every step with timeoutMs: 30_000. library status and stack down can take longer while the GPU is busy or the machine is loaded, and right after a wake from sleep is a likely time for that.
Expected
Quit's stop finishes on a loaded machine, or a failed stop is retried (for example at the next launch, before resume), so a quit Linger does not keep the model in memory.
Found with .agents/skills/verify-linger/scripts/verify-sleep-quit.mjs (#618). Related: #619 is a different path (the stop is skipped entirely when Quick Install did not finish) with the same symptom.
- Lingua principale
- TypeScript
- Stelle
- 3.8k
- Fork
- 360
- Merge medio
- 8h 10m
- PR unite (30g)
- 540
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di simplexai-labs/linger
-
bug
Difficoltà 1/5 1-3 ore Idoneità per principianti 90/100
simplexai-labs/linger#904 ·
I maintainer di solito rispondono entro 1 giorno
-
Local model JIT load waits ~22 s for a concurrency probe that always ends unmeasured and is never cachedForse già presa @oldwinter53 l’ha presa oggi. Apertabug
simplexai-labs/linger#896 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
feat(agents): let an Agent choose runtime, model and reasoning effort when it creates an AgentAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
simplexai-labs/linger#888 ·
I maintainer di solito rispondono entro 1 giorno
-
Hand-patches to the protected runtime are silently discarded on upgrade, with no supported overrideAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
simplexai-labs/linger#883 ·
I maintainer di solito rispondono entro 1 giorno
-
Daily memory report silently never runs: 5-minute step ceiling plus a stuck in-memory #scheduled setAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
simplexai-labs/linger#881 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di simplexai-labs/linger
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Bug Nethernet Tests
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
JSPrismarine/JSPrismarine#3949 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
withkarann/aifoxx#504 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 2 giorni