[PR #3846] [MERGED] Detect and recover if runner removed #11293

Closed
opened 2026-04-12 23:27:01 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/3846
Author: @dhiltgen
Created: 4/23/2024
Status: Merged
Merged: 4/23/2024
Merged by: @dhiltgen

Base: mainHead: missing_runner


📝 Commits (2)

  • 58888a7 Detect and recover if runner removed
  • 939d6a8 Make CI lint verbvose

📊 Changes

2 files changed (+12 additions, -1 deletions)

View changed files

📝 .github/workflows/test.yaml (+1 -1)
📝 llm/server.go (+11 -0)

📄 Description

Tmp cleaners can nuke the file out from underneath us. This detects the missing runner, and re-initializes the payloads.

Manually tested by hand removing the server after loading it once, trigger an unload with keep_alive: 0 sent another request, saw the log message, and it loaded correctly.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/3846 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 4/23/2024 **Status:** ✅ Merged **Merged:** 4/23/2024 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `missing_runner` --- ### 📝 Commits (2) - [`58888a7`](https://github.com/ollama/ollama/commit/58888a74bc686c1d12ac4cb1c2c9a514a7b77f08) Detect and recover if runner removed - [`939d6a8`](https://github.com/ollama/ollama/commit/939d6a860679dbf891aa04891268c042dfe93b59) Make CI lint verbvose ### 📊 Changes **2 files changed** (+12 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/test.yaml` (+1 -1) 📝 `llm/server.go` (+11 -0) </details> ### 📄 Description Tmp cleaners can nuke the file out from underneath us. This detects the missing runner, and re-initializes the payloads. Manually tested by hand removing the server after loading it once, trigger an unload with `keep_alive: 0` sent another request, saw the log message, and it loaded correctly. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-12 23:27:01 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#11293