mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-08 10:13:22 -05:00
[GH-ISSUE #14875] issue: Containers seem to be hanging on usage pool cleanup or afterwards #56056
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 @Ithanil on GitHub (Jun 11, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/14875
Originally assigned to: @jackthgu on GitHub.
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
0.6.14
Ollama Version (if applicable)
No response
Operating System
Debian Bookworm
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Container doesn't hang on log line "Running periodic_usage_pool_cleanup".
Actual Behavior
Container hangs on log line "Running periodic_usage_pool_cleanup". Had this issue before (https://github.com/open-webui/open-webui/issues/14813), but usually I could resolve it with multiple restart tries. Now my luck seems to have run out.
Steps to Reproduce
docker stack deployLogs & Screenshots
INFO: Started server process [1]
INFO: Waiting for application startup.
██████╗ ██████╗ ███████╗███╗ ██╗ ██╗ ██╗███████╗██████╗ ██╗ ██╗██╗
██╔═══██╗██╔══██╗██╔════╝████╗ ██║ ██║ ██║██╔════╝██╔══██╗██║ ██║██║
██║ ██║██████╔╝█████╗ ██╔██╗ ██║ ██║ █╗ ██║█████╗ ██████╔╝██║ ██║██║
██║ ██║██╔═══╝ ██╔══╝ ██║╚██╗██║ ██║███╗██║██╔══╝ ██╔══██╗██║ ██║█���║
╚██████╔╝██║ ███████╗██║ ╚████║ ╚███╔███╔╝███████╗██████╔╝╚██████╔╝██║
╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═══╝ ╚══╝╚══╝ ╚══════╝╚═════╝ ╚═════╝ ╚═╝
v0.6.14 - building the best AI user interface.
https://github.com/open-webui/open-webui
2025-06-11 07:20:53.793 | INFO | open_webui.utils.logger:start_logger:140 - GLOBAL_LOG_LEVEL: DEBUG - {}
2025-06-11 07:20:53.793 | INFO | open_webui.main:lifespan:505 - Installing external dependencies of functions and tools... - {}
2025-06-11 07:20:53.854 | INFO | open_webui.utils.plugin:install_frontmatter_requirements:241 - No requirements found in frontmatter. - {}
2025-06-11 07:20:53.901 | DEBUG | open_webui.socket.main:periodic_usage_pool_cleanup:111 - Running periodic_usage_pool_cleanup - {}
Additional Information
Previous issue, where I thought this happened only with multiple replicas and then also struggled to reproduce: https://github.com/open-webui/open-webui/issues/14813
And before it didn't take that many restarts to finally boot. I think there was a regression already in some 0.6.1x version.
Potentially the same issue, albeit with older versions:
https://github.com/open-webui/open-webui/issues/13848
https://github.com/open-webui/open-webui/issues/11354
@tjbck commented on GitHub (Jun 11, 2025):
Could you share all of your env vars?
@tjbck commented on GitHub (Jun 11, 2025):
@Ithanil We definitely cannot reproduce this issue, could you also try to isolate the issue and test pure redis configuration instead of sentinel?
@tjbck commented on GitHub (Jun 11, 2025):
This definitely seems very unlikely to be related to redis, I'd suggest you share every single detail regarding your deployment so that we can actually reproduce as mentioned in the template. Have you also tested and reproduced the issue in an entirely separate environment and made any attempts to isolate the issue?
#13848 #11354 both point to user error fyi
@Ithanil commented on GitHub (Jun 11, 2025):
@tjbck I have made progress and have to apologize, because this is indeed totally unrelated to Open WebUI. I suspect a regression in a recent update of Docker, affecting Docker Swarm networking.
Why I come to this conclusion:
Sorry for the noise again. I didn't expect something Docker-related to be the reason here, but it fits problems I have with another application since a recent update of Docker packages.
@Ithanil commented on GitHub (Jun 11, 2025):
Nevertheless, if other people run into similar issues this will hopefully serve as a pointer.