[GH-ISSUE #9241] Error: llama runner process has terminated: exit status 2 #31782

Closed
opened 2026-04-22 12:33:02 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @ba1ab on GitHub (Feb 20, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/9241

What is the issue?

When I run deepseek-r1:8b, an error occurs displaying 'llama runner process has terminated' exit status 2. How to solve it ?

Image

Relevant log output

Log output is this:
time=2025-02-20T12:24:52.667+08:00 level=ERROR source=sched.go:455 msg="error loading llama server" error="llama runner process has terminated: exit status 2"
[GIN] 2025/02/20 - 12:24:52 | 500 |  593.792489ms |       127.0.0.1 | POST     "/api/generate"
time=2025-02-20T12:24:57.798+08:00 level=WARN source=sched.go:646 msg="gpu VRAM usage didn't recover within timeout" seconds=5.130090283 model=/home/bxy/.ollama/models/blobs/sha256-6340dc3229b0d08ea9cc49b75d4098702983e17b4c096d57afbbf2ffc813f2be
time=2025-02-20T12:24:58.047+08:00 level=WARN source=sched.go:646 msg="gpu VRAM usage didn't recover within timeout" seconds=5.379399415 model=/home/bxy/.ollama/models/blobs/sha256-6340dc3229b0d08ea9cc49b75d4098702983e17b4c096d57afbbf2ffc813f2be
time=2025-02-20T12:24:58.297+08:00 level=WARN source=sched.go:646 msg="gpu VRAM usage didn't recover within timeout" seconds=5.629275077 model=/home/bxy/.ollama/models/blobs/sha256-6340dc3229b0d08ea9cc49b75d4098702983e17b4c096d57afbbf2ffc813f2be

OS

Linux

GPU

Nvidia

CPU

Intel

Ollama version

0.5.11

Originally created by @ba1ab on GitHub (Feb 20, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/9241 ### What is the issue? When I run deepseek-r1:8b, an error occurs displaying 'llama runner process has terminated' exit status 2. How to solve it ? ![Image](https://github.com/user-attachments/assets/552744da-c671-48de-9a86-eae2d69ff204) ### Relevant log output ```shell Log output is this: time=2025-02-20T12:24:52.667+08:00 level=ERROR source=sched.go:455 msg="error loading llama server" error="llama runner process has terminated: exit status 2" [GIN] 2025/02/20 - 12:24:52 | 500 | 593.792489ms | 127.0.0.1 | POST "/api/generate" time=2025-02-20T12:24:57.798+08:00 level=WARN source=sched.go:646 msg="gpu VRAM usage didn't recover within timeout" seconds=5.130090283 model=/home/bxy/.ollama/models/blobs/sha256-6340dc3229b0d08ea9cc49b75d4098702983e17b4c096d57afbbf2ffc813f2be time=2025-02-20T12:24:58.047+08:00 level=WARN source=sched.go:646 msg="gpu VRAM usage didn't recover within timeout" seconds=5.379399415 model=/home/bxy/.ollama/models/blobs/sha256-6340dc3229b0d08ea9cc49b75d4098702983e17b4c096d57afbbf2ffc813f2be time=2025-02-20T12:24:58.297+08:00 level=WARN source=sched.go:646 msg="gpu VRAM usage didn't recover within timeout" seconds=5.629275077 model=/home/bxy/.ollama/models/blobs/sha256-6340dc3229b0d08ea9cc49b75d4098702983e17b4c096d57afbbf2ffc813f2be ``` ### OS Linux ### GPU Nvidia ### CPU Intel ### Ollama version 0.5.11
GiteaMirror added the bug label 2026-04-22 12:33:02 -05:00
Author
Owner

@jmorganca commented on GitHub (Feb 20, 2025):

@ba1ab are there errors before the error loading llama server message? Thanks and sorry this happened

<!-- gh-comment-id:2670549404 --> @jmorganca commented on GitHub (Feb 20, 2025): @ba1ab are there errors before the `error loading llama server` message? Thanks and sorry this happened
Author
Owner

@1737631162 commented on GitHub (Feb 21, 2025):

@ba1ab Choose version 0.5.7 to avoid this issue. I have already tested it.

<!-- gh-comment-id:2673956285 --> @1737631162 commented on GitHub (Feb 21, 2025): @ba1ab Choose version 0.5.7 to avoid this issue. I have already tested it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#31782