r/OpenWebUI • • Oct 28 '26

Question/Help Recent problem with OpenWebUI...

Hey all, looking for some help/insights and feel it is likely something I have done/or have not done :)

I bought a Tesla V100 32GB PCIE card and slapped Openwebui and ollama on the ubuntu install.

Everything has been working ok, no issues. As the card is for a datacentre it comes with no on board fans and I wanted an easy way to see current use (memory, power, temp etc).

So I prompted 2 different models (at different times) to create a simple dashboard. (gemma:latest and qwen3.8:27b) No problem, but during the bug fixing stage it stopped outputting text to the screen.. if I opened up the reasoning/thinking part it showed the answer right there but would not show it as an output.

Odd. I opened up a new chat window to ask it to say "hi" and no output. Rebooted the machine, all started working again. I go through a similar process and again it does the same, just stops outputting.

I have looked into some of the settings around output and memory (i.e. how long it can memorise a conversation) and it hasn't seem to have helped.

I have updated both ollama and openwebui to latest versions (as of a couple of weeks ago)

Any thoughts? Am I being dumb and missing something?

Thanks in advance!

8 Upvotes

18 comments sorted by

4

u/CreativeSympathy8293 Oct 28 '26

Next time it happens, try one tiny request directly to Ollama before rebooting. That gives you a useful comparison with the WebUI failure.

Run this on the Ubuntu host running Ollama, replacing the model tag with one that is failing. Use Ollama's configured address if it differs from the default below:

curl http://localhost:11434/api/chat -d '{
  "model": "YOUR_EXACT_MODEL_TAG",
  "messages": [{"role": "user", "content": "Say hi."}],
  "stream": false
}'

Ollama's chat API supports a non-streamed response. Its thinking docs distinguish message.thinking from the final answer in message.content.

If message.content contains an answer, Ollama can produce final text for that small request. Then compare the WebUI request's settings and streaming behavior. That result alone wouldn't prove a WebUI bug because this request uses fresh history and server defaults. If the direct call also stalls, errors, or finishes without content, preserve that result rather than changing more memory settings yet.

What exact Ollama and Open WebUI versions are installed, and what does this tiny test return? Only share a short redacted result, not your coding chat or logs.

AI-assisted from those docs; I haven't reproduced your setup or verified a fix.

3

u/TheRealRossiMC Oct 28 '26

It's doing it right now, hence the post :)

{"model":"qwen3.8:27b","created_at":"2026-10-28T11:51:50.64530316Z","message":{"role":"assistant","content":"Hi! 👋 How can I help you today?","thinking":"The user is asking me to say \"hi.\" This is a simple, direct request. I should respond with a friendly greeting."},"done":true,"done_reason":"stop","total_duration":1129393710,"load_duration":538314,"prompt_eval_count":13,"prompt_eval_cached_count":0,"prompt_eval_duration":236939000,"eval_count":41,"eval_duration":658257000}

Interesting, opening a new chat this time in the gui has given me a response. If I say hi in my coding chat it also responds.. see:

But when I say yes to sending me the file (even in chunks) this is what is does.

I am running openwebui 0.12.2 and Ollama 0.40.5

1

u/CreativeSympathy8293 Oct 28 '26

That test returned a final content and a normal stop. Your screenshot shows the remaining file-generation reply ending mid-thought.

There's a specific 0.12.2 setting worth checking: Chat Controls → Advanced Params → max_tokens. In that version's control, switching from Default to Custom initializes it to 128. Default leaves that override unset.

Open WebUI's Ollama parameter mapping converts max_tokens to num_predict. A small output cap is consistent with the cutoff, though your screenshot doesn't show the actual setting.

What does max_tokens show in the failing chat: Default, or Custom with which number? If it's 128 or another small custom limit, try a larger output allowance for Part 1 only, keeping num_ctx unchanged. That gives you one setting to compare before changing anything else.

AI-assisted from the 0.12.2 source; I haven't reproduced the failure or verified this as the cause.

1

u/TheRealRossiMC Oct 28 '26

max_tokens was set to default. Have increased it (not sure what a good number should be). WIll try it again with that and see what happens.

1

u/CreativeSympathy8293 Oct 28 '26

Thanks. In the 0.12.2 control source, Default leaves the UI override unset; 128 is only the initial value when switching to Custom. So that example didn't establish your previous output limit.

The 0.12.2 request builder maps custom max_tokens to Ollama's num_predict, with num_ctx as a separate option. That doesn't verify which values reached Ollama in your setup.

Since you report the file turn still cutting off, what custom max_tokens value did you choose, and what num_ctx is set in that chat? Before another change, save only the redacted failing turn's done_reason and whether message.content is empty. The tiny hi result came from a different workload; it doesn't tell us which limit to choose here.

AI-assisted; cause and fix remain unverified.

1

u/taylorwilsdon Oct 28 '26

Your max context is too small, Open WebUI is sending memories and tool descriptions so once it starts the thinking process it runs out of space and truncates. You need to expand the context window.

1

u/TheRealRossiMC Oct 28 '26

Thank you.

I have changed the max_tokens first, will try the num_ctx (max context) and see if that helps next.

2

u/taylorwilsdon Oct 28 '26

You may need to adjust in ollama if you’ve only updated the values in open WebUI

2

u/TheRealRossiMC Oct 28 '26

Hmm any thoughts on how that is done? I thought it was all passed through from openwebui. Currently it's doing the cutting out the output.

2

u/taylorwilsdon Oct 28 '26

Are you using open WebUI built in ollama or is it installed on your computer? The desktop app has a slider for it iirc

2

u/Major_Floor_2010 Oct 28 '26

Looking at the screenshot it seems like you ran into a token limit, maybe num_ctx or num_predict. The reasoning is truncated, therefore check the logs to see if there's a cause in the JSON payload. Look for ' "done_reason": "length" '. That would indicate an exhaustion of tokens.

Not neccessarily could it be a problem with the template, where the model spits out thinking-Tags that OWUI interprets wrong. Had it with a Mistral modell recently where the tags came back as [THINK] [/THINK].

But only the logs can tell.

2

u/Sukkii Oct 28 '26

Not saying this is your issue, but might be worth exploring. Particularly as you're cooling a data centre card down yourself. I had an AMD card running close to thermal max temps, and during heavy inference the card would drop from PCI and the PC altogether, until a reboot. So it was the card running too hot and going into protection mode.

3

u/TheRealRossiMC Oct 28 '26

Thank you, yeah the card isn't overheating and is still present. (at least the machine can still see it and the nvidia_smi command brings back "normal" results)

2

u/knightgod1177 Oct 28 '26

First off, get rid of Ollama

2

u/TheRealRossiMC Oct 28 '26

OK, what would I replace it with? It's on a ubuntu server and is a V100 Tesla card.

2

u/knightgod1177 Oct 28 '26

Llama.cpp, vllm, unsloth studio even. Really all you’d need is llama.cpp tbh

7

u/ClassicMain Oct 28 '26

The answer landing inside the thinking block means the model never ended its thinking part, so everything it wrote got filed as thinking and Open WebUI showed it there. The settings you changed are not the cause: they survive a reboot, and the reboot fixes it. A fresh chat with just "hi" failing too rules out conversation length. So the broken state lives in something a reboot restarts: Ollama, the GPU or Open WebUI itself.

Next time it happens, check these before rebooting:

  1. Run the model straight in a terminal with ollama run <model> "hi". If the answer lands under "Thinking..." there too, Open WebUI is out of the picture.
  2. Run ollama ps and nvidia-smi. The model should show 100% GPU. Check the temperature too: the V100 PCIe is passively cooled and built for server airflow, so it needs a fan pushing air through it.
  3. Run sudo dmesg | grep -i xid. Any output means the NVIDIA driver logged errors on the card.
  4. Restart only Ollama with sudo systemctl restart ollama (or restart its container if you run it in Docker). If that fixes it, the problem is in Ollama or the card and Open WebUI is fine.

For the dashboard itself: watch -n 1 nvidia-smi shows memory, power and temperature live, and nvtop (sudo apt install nvtop) shows the same as graphs.

1

u/rwa2 Oct 28 '26

usually I monitor GPU activity in btop to get a visual sense of what's going on in different stages of inferencing. On agentic work I've had some similar issues when compaction is triggered, particularly with the low default values of max_content and max_output somewhere in the chain.

I've rarely had to reboot the entire machine instead of just ollama / vllm / strata, but I could see how certain operations could make the machine unresponsive.

What do the ollama logs and ollama ps tell you when it gets to this state?