Reading Ollama logs and enabling debug output
Where Ollama writes logs on each platform and in containers, enabling OLLAMA_DEBUG, what GPU discovery and model load messages mean, and shipping logs to a central system.

Keeping a shared Ollama server healthy: logs, GPU detection problems, model loading and unloading, overload behavior, usage metrics and version control.
Where Ollama writes logs on each platform and in containers, enabling OLLAMA_DEBUG, what GPU discovery and model load messages mean, and shipping logs to a central system.
Troubleshooting GPU discovery: driver and container runtime checks, nvidia_uvm reloads, AMD group permissions and ROCm driver mismatches, cgroup settings in Docker, and confirming the fix with ollama ps.
Avoiding slow first responses: the five-minute default, OLLAMA_KEEP_ALIVE and per-request keep_alive, preloading models at start-up, and freeing memory for other models with ollama stop.
What happens when requests outpace capacity: queueing for model loads, the OLLAMA_MAX_QUEUE limit and 503 responses, client retry behavior, and when to add capacity or a gateway.
Measuring a shared server: token counts and timing fields in API responses, load time versus generation time, tokens per second per model, and collecting metrics through a gateway or tracing tool.
Controlled upgrades and patching for production: release frequency, re-running the install script, installing a specific version with OLLAMA_VERSION, image tags in containers, following GitHub security advisories and rolling back a bad release.
Diagnosing slow generation: partial CPU offload shown in ollama ps, context too large for VRAM, cold model loads, parallel slots competing for memory and slow storage for model files.
Day-to-day model management: pulling, listing, copying and deleting models through the CLI and API, checking running models, disk cleanup, and a change process for which models users can call.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.