[PR #10550] [MERGED] sched: logging improvements #39146

Closed
opened 2026-04-22 23:47:30 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/10550
Author: @dhiltgen
Created: 5/3/2025
Status: Merged
Merged: 5/3/2025
Merged by: @dhiltgen

Base: mainHead: sched_log


📝 Commits (1)

  • d2bc168 sched: logging improvements

📊 Changes

3 files changed (+57 additions, -14 deletions)

View changed files

📝 llm/server.go (+11 -0)
📝 server/sched.go (+45 -14)
📝 server/sched_test.go (+1 -0)

📄 Description

We may still have a race/corner case relating to runners becoming orphaned. This should help narrow things down.

This enhances our logging in the scheduler. The initial "waiting for server" log no longer claims an initial error state (now "not responding" which better reflects the actual state). Runners now have slog wiring to report more details about the runner, including PID.


🔄 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/10550 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 5/3/2025 **Status:** ✅ Merged **Merged:** 5/3/2025 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `sched_log` --- ### 📝 Commits (1) - [`d2bc168`](https://github.com/ollama/ollama/commit/d2bc16805ed824e42c6d342093010c009f3405c1) sched: logging improvements ### 📊 Changes **3 files changed** (+57 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `llm/server.go` (+11 -0) 📝 `server/sched.go` (+45 -14) 📝 `server/sched_test.go` (+1 -0) </details> ### 📄 Description We may still have a race/corner case relating to runners becoming orphaned. This should help narrow things down. This enhances our logging in the scheduler. The initial "waiting for server" log no longer claims an initial error state (now "not responding" which better reflects the actual state). Runners now have slog wiring to report more details about the runner, including PID. --- <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-22 23:47:30 -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#39146