Errors are information, not verdicts
Ollama is one of the friendliest ways to run a language model on your own machine, which is exactly why its error messages surprise people. Everything works for a week, then one morning a model refuses to load, answers crawl, or a script can no longer connect. It is tempting to reinstall everything. From our experience helping people set up local AI machines, a calm, fixed order of checks solves most problems in a few minutes and teaches you more about your own setup than any reinstall.
Here is our order. It applies to Windows, macOS and Linux, with small differences in where logs live.
Step 1: Is Ollama actually running?
Ollama runs a background server that listens on port 11434 of your own computer by default. Many "it suddenly stopped working" reports turn out to be a server that is not running at all, for example after a system update or because someone closed a desktop app.
Check it directly: open http://127.0.0.1:11434 in a browser or run curl http://127.0.0.1:11434. A short "Ollama is running" reply means everything is fine at this layer. If your connection is refused, start Ollama again or run ollama serve in a terminal and watch what it prints.
If another program already uses port 11434, Ollama cannot start, and its log will say so. Stop that program or move Ollama to a different port with an OLLAMA_HOST environment variable, and remember to point scripts and front ends at that new address.
Step 2: Read logs before changing anything
Logs are your most useful file. On macOS and Linux they usually appear in whichever terminal runs ollama serve, or through your system service manager; on Windows, Ollama keeps log files in its own folder under your user profile. Look at lines written when a problem happened. They usually say plainly whether a model failed to load, ran out of memory, or could not find a GPU.
Copy relevant lines into a text file along with a date. If you end up asking for help in a forum or in our community section, those lines are what people will ask for first.
Step 3: Memory errors
Messages saying a model needs more memory than is available are a very common real error. Model weights, plus space for conversation context, do not fit into memory Ollama can use.
Options, from least to most disruptive:
- Close other GPU-hungry programs such as games, video editors or a second model server.
- Reduce requested context length; long contexts cost extra memory on top of weights.
- Choose a smaller quantisation of that same model.
- Choose a smaller model.
Do not jump straight to buying hardware. Use a sizing reference such as our VRAM and model-size table to see whether your chosen model is realistic for your card at all.
Step 4: "It works, but it is slow"
When answers that used to stream quickly now arrive word by word, a usual cause is that a model, or part of it, runs on your CPU instead of your GPU. Run ollama ps while a model is loaded; it shows how much of each model sits on GPU. If it reports a split between CPU and GPU, your model no longer fits fully in video memory, often because context length grew or another program is holding VRAM.
If no GPU is used at all, confirm that a current graphics driver is installed, and look for GPU detection messages near where your log starts. A driver update pushed by your operating system is a frequent culprit.
Step 5: Strange or broken answers
If a model loads and runs fast but replies with repeated text, odd tokens or answers that ignore your question, suspect its file or template rather than Ollama itself. Pull that model again, make sure you use a chat or instruct variant, and check whether a custom Modelfile overrides its template or parameters.
Keep a small change log
Most "mystery" failures follow a change: a driver update, a new model, a different context setting, an extra tool installed on that same machine. A plain text file listing each date, what changed and who changed it turns your next troubleshooting session from guesswork into a quick comparison. It is a cheap reliability tool, and it works for every runtime, not just Ollama.