mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 12:58:11 -05:00
[GH-ISSUE #14861] issue: Slow knowledge listing #32912
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @a3957273 on GitHub (Jun 10, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/14861
Check Existing Issues
Installation Method
Docker
Open WebUI Version
0.6.14
Ollama Version (if applicable)
N/A
Operating System
N/A
Browser (if applicable)
Chrome 139
Confirmation
README.md.Expected Behavior
I am able to query /api/v1/knowledge/list and it takes under a second to load.
Actual Behavior
Querying /api/v1/knowledge takes 9.5 seconds to load, and during this time OpenWebUI will not respond to any other API requests (e.g. listing chat history, listing users). The application appears to be entirely frozen for those 9.5 seconds.
Steps to Reproduce
Logs & Screenshots
We do not include browser / Docker logs here due to it being a single API call. The browser does not log anything, as it's getting a JSON endpoint. The Docker logs include only a single 200 response for this endpoint, they do not include details, time taken, etc.
Additional Information
I have tried running queries directly against Postgres and seen response times in in the millisecond range, so do not believe it to be the database.
@a3957273 commented on GitHub (Jun 10, 2025):
To reproduce this you should add a few hundred milliseconds of latency to connections to the database. Either by having it hosted over a network, or by artificially adding it via iptable configuration, etc.
@germanoquanta commented on GitHub (Jun 10, 2025):
I don't know if you've just updated to this version too, I was in 0.6.13 and after the update to v0.6.14 (i used containerrr watchtower), it slowed down the answer speed. Tried with different models too. Im using Windows 11 Desktop Docker, no Postgres external connection, just the Ollama that's installed in my Windows.
@tjbck commented on GitHub (Jun 11, 2025):
Unable to reproduce, keep us updated!