Newer
Older
gnexus-book / 10-systems / servers / service-host-navi-rei.md

title: service host — navi rei (192.168.1.168) type: host ip: 192.168.1.168 purpose: Navi rei instance and local Ollama embeddings server for the hive owner: gmikcon status: active confidence: 95 last_reviewed: 2026-10-12 review_interval: 90d

source_of_truth: local

service host — navi rei instance (192.168.1.168)

Local Ubuntu 22.04 host (8 vCPU, 8 GiB RAM, no GPU). Runs the rei Navi instance (navi-1 backend on port 8099) and the local Ollama embeddings server used by the whole hive.

Local Ollama embeddings service

  • Endpoint: http://192.168.1.168:11434 — referenced as EMBEDDING_OLLAMA_HOST by other hive instances (zoe, gntasks, etc.).
  • Model: nomic-embed-text:latest (137M, F16), CPU inference only (no GPU on this host).
  • Two systemd units exist — do not confuse them:
    • ollama-embed.service — the working unit, holds port 11434, WantedBy=default.target, enabled. This is the one that must stay running.
    • ollama.service — stock Ollama unit, same ExecStart and same port. At boot it loses the port race to ollama-embed and crash-loops forever (bind: address already in use, ~140k restarts observed by 2026-10-12).

2026-10-12: crash-loop fix

  • Found during cpu_recovered event analysis (panel event #822): ollama.service had been crash-looping since boot (5+ days), spamming the journal (~160k lines/24h, journal 2.9 GB).
  • Fix applied: sudo systemctl stop ollama.service && sudo systemctl disable ollama.service (symlink removed from default.target.wants). ollama-embed.service untouched, embeddings verified working (/api/ps, /api/embed OK).
  • Rollback if ever needed: sudo systemctl enable --now ollama.service — but the port conflict will return; the proper long-term fix is removing the stock unit or pointing it at another port.
  • CPU spikes on this host (up to 100%, load 3–7) are normally embedding batch jobs from hive instances — self-recovering, no notify needed unless they persist >30 min or RAM/swap grows.