I have searched for any existing and/or related issues.
I have searched for any existing and/or related discussions.
I am using the latest version of Open WebUI.
Installation Method
Pip Install
Open WebUI Version
v0.6.34
Ollama Version (if applicable)
0.7.1
Operating System
Ubuntu 24.04.3 LTS
Browser (if applicable)
Firefox 144.0
Confirmation
I have read and followed all instructions in README.md.
I am using the latest version of both Open WebUI and Ollama.
I have included the browser console logs.
I have included the Docker container logs.
I have provided every relevant configuration, setting, and environment variable used in my setup.
I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
Start with the initial platform/version/OS and dependencies used,
Specify exact install/launch/configure commands,
List URLs visited, user input (incl. example values/emails/passwords if needed),
Describe all options and toggles enabled or changed,
Include any files or environmental changes,
Identify the expected and actual result at each stage,
Ensure any reasonably skilled user can follow and hit the same issue.
Expected Behavior
running 'open-webui serve' from the command line should produce a running instance of open webui (i'm running pip, not docker).
Actual Behavior
the system crashes and dumps the core with a mem alloc error. running fully-patched ubuntu 24..04.3 environment
Steps to Reproduce
start with fully patched ubuntu install
start venv
run uv pip install --upgrade open-webui to upgrade from 0.6.33 to 0.6.34
open-webui serve
i get the log output shown below
Logs & Screenshots
open webui log:
(mcp) bob@machine-2025:~$ open-webui serve
Loading WEBUI_SECRET_KEY from file, not provided as an environment variable.
Loading WEBUI_SECRET_KEY from /home/bob/.webui_secret_key
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
INFO [open_webui.env] 'ENABLE_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_API_KEY_ENDPOINT_RESTRICTIONS' loaded from the latest database entry
INFO [open_webui.env] 'API_KEY_ALLOWED_ENDPOINTS' loaded from the latest database entry
INFO [open_webui.env] 'JWT_EXPIRES_IN' loaded from the latest database entry
WARNI [open_webui.env] ⚠️ SECURITY WARNING: JWT_EXPIRES_IN is set to '-1'
See: https://docs.openwebui.com/getting-started/env-configuration
INFO [open_webui.env] 'ENABLE_DIRECT_CONNECTIONS' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_OLLAMA_API' loaded from the latest database entry
INFO [open_webui.env] 'OLLAMA_BASE_URLS' loaded from the latest database entry
INFO [open_webui.env] 'OLLAMA_API_CONFIGS' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_OPENAI_API' loaded from the latest database entry
INFO [open_webui.env] 'OPENAI_API_KEYS' loaded from the latest database entry
INFO [open_webui.env] 'OPENAI_API_BASE_URLS' loaded from the latest database entry
INFO [open_webui.env] 'OPENAI_API_CONFIGS' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_BASE_MODELS_CACHE' loaded from the latest database entry
INFO [open_webui.env] 'TOOL_SERVER_CONNECTIONS' loaded from the latest database entry
INFO [open_webui.env] 'WEBUI_URL' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_SIGNUP' loaded from the latest database entry
INFO [open_webui.env] 'DEFAULT_PROMPT_SUGGESTIONS' loaded from the latest database entry
INFO [open_webui.env] 'DEFAULT_USER_ROLE' loaded from the latest database entry
INFO [open_webui.env] 'PENDING_USER_OVERLAY_TITLE' loaded from the latest database entry
INFO [open_webui.env] 'PENDING_USER_OVERLAY_CONTENT' loaded from the latest database entry
INFO [open_webui.env] 'RESPONSE_WATERMARK' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_CHANNELS' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_NOTES' loaded from the latest database entry
INFO [open_webui.env] 'WEBHOOK_URL' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_COMMUNITY_SHARING' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_MESSAGE_RATING' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_USER_WEBHOOKS' loaded from the latest database entry
WARNI [open_webui.env]
WARNING: CORS_ALLOW_ORIGIN IS SET TO '*' - NOT RECOMMENDED FOR PRODUCTION DEPLOYMENTS.
INFO [open_webui.env] 'WEBUI_BANNERS' loaded from the latest database entry
INFO [open_webui.env] 'SHOW_ADMIN_DETAILS' loaded from the latest database entry
INFO [open_webui.env] 'TASK_MODEL' loaded from the latest database entry
INFO [open_webui.env] 'TASK_MODEL_EXTERNAL' loaded from the latest database entry
INFO [open_webui.env] 'TITLE_GENERATION_PROMPT_TEMPLATE' loaded from the latest database entry
INFO [open_webui.env] 'TAGS_GENERATION_PROMPT_TEMPLATE' loaded from the latest database entry
INFO [open_webui.env] 'IMAGE_PROMPT_GENERATION_PROMPT_TEMPLATE' loaded from the latest database entry
INFO [open_webui.env] 'FOLLOW_UP_GENERATION_PROMPT_TEMPLATE' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_FOLLOW_UP_GENERATION' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_TAGS_GENERATION' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_TITLE_GENERATION' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_SEARCH_QUERY_GENERATION' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_RETRIEVAL_QUERY_GENERATION' loaded from the latest database entry
INFO [open_webui.env] 'QUERY_GENERATION_PROMPT_TEMPLATE' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_AUTOCOMPLETE_GENERATION' loaded from the latest database entry
INFO [open_webui.env] 'AUTOCOMPLETE_GENERATION_INPUT_MAX_LENGTH' loaded from the latest database entry
INFO [open_webui.env] 'TOOLS_FUNCTION_CALLING_PROMPT_TEMPLATE' loaded from the latest database entry
INFO [open_webui.env] VECTOR_DB: chroma
INFO [open_webui.env] 'ENABLE_GOOGLE_DRIVE_INTEGRATION' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_ONEDRIVE_INTEGRATION' loaded from the latest database entry
INFO [open_webui.env] 'CONTENT_EXTRACTION_ENGINE' loaded from the latest database entry
INFO [open_webui.env] 'DATALAB_MARKER_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'DATALAB_MARKER_API_BASE_URL' loaded from the latest database entry
INFO [open_webui.env] 'DATALAB_MARKER_ADDITIONAL_CONFIG' loaded from the latest database entry
INFO [open_webui.env] 'DATALAB_MARKER_USE_LLM' loaded from the latest database entry
INFO [open_webui.env] 'DATALAB_MARKER_SKIP_CACHE' loaded from the latest database entry
INFO [open_webui.env] 'DATALAB_MARKER_FORCE_OCR' loaded from the latest database entry
INFO [open_webui.env] 'DATALAB_MARKER_PAGINATE' loaded from the latest database entry
INFO [open_webui.env] 'DATALAB_MARKER_STRIP_EXISTING_OCR' loaded from the latest database entry
INFO [open_webui.env] 'DATALAB_MARKER_DISABLE_IMAGE_EXTRACTION' loaded from the latest database entry
INFO [open_webui.env] 'DATALAB_MARKER_FORMAT_LINES' loaded from the latest database entry
INFO [open_webui.env] 'DATALAB_MARKER_OUTPUT_FORMAT' loaded from the latest database entry
INFO [open_webui.env] 'EXTERNAL_DOCUMENT_LOADER_URL' loaded from the latest database entry
INFO [open_webui.env] 'EXTERNAL_DOCUMENT_LOADER_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'TIKA_SERVER_URL' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_SERVER_URL' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_PARAMS' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_DO_OCR' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_FORCE_OCR' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_OCR_ENGINE' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_OCR_LANG' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_PDF_BACKEND' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_TABLE_MODE' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_PIPELINE' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_DO_PICTURE_DESCRIPTION' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_PICTURE_DESCRIPTION_MODE' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_PICTURE_DESCRIPTION_LOCAL' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_PICTURE_DESCRIPTION_API' loaded from the latest database entry
INFO [open_webui.env] 'DOCUMENT_INTELLIGENCE_ENDPOINT' loaded from the latest database entry
INFO [open_webui.env] 'DOCUMENT_INTELLIGENCE_KEY' loaded from the latest database entry
INFO [open_webui.env] 'MISTRAL_OCR_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'BYPASS_EMBEDDING_AND_RETRIEVAL' loaded from the latest database entry
INFO [open_webui.env] 'RAG_TOP_K' loaded from the latest database entry
INFO [open_webui.env] 'RAG_TOP_K_RERANKER' loaded from the latest database entry
INFO [open_webui.env] 'RAG_RELEVANCE_THRESHOLD' loaded from the latest database entry
INFO [open_webui.env] 'RAG_HYBRID_BM25_WEIGHT' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_RAG_HYBRID_SEARCH' loaded from the latest database entry
INFO [open_webui.env] 'RAG_FULL_CONTEXT' loaded from the latest database entry
INFO [open_webui.env] 'RAG_ALLOWED_FILE_EXTENSIONS' loaded from the latest database entry
INFO [open_webui.env] 'RAG_EMBEDDING_ENGINE' loaded from the latest database entry
INFO [open_webui.env] 'PDF_EXTRACT_IMAGES' loaded from the latest database entry
INFO [open_webui.env] 'RAG_EMBEDDING_MODEL' loaded from the latest database entry
INFO [open_webui.env] Embedding model set: sentence-transformers/all-MiniLM-L6-v2
INFO [open_webui.env] 'RAG_RERANKING_ENGINE' loaded from the latest database entry
INFO [open_webui.env] 'RAG_RERANKING_MODEL' loaded from the latest database entry
INFO [open_webui.env] 'RAG_EXTERNAL_RERANKER_URL' loaded from the latest database entry
INFO [open_webui.env] 'RAG_EXTERNAL_RERANKER_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'RAG_TEXT_SPLITTER' loaded from the latest database entry
INFO [open_webui.env] 'CHUNK_SIZE' loaded from the latest database entry
INFO [open_webui.env] 'CHUNK_OVERLAP' loaded from the latest database entry
INFO [open_webui.env] 'RAG_TEMPLATE' loaded from the latest database entry
INFO [open_webui.env] 'YOUTUBE_LOADER_LANGUAGE' loaded from the latest database entry
INFO [open_webui.env] 'YOUTUBE_LOADER_PROXY_URL' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_WEB_SEARCH' loaded from the latest database entry
INFO [open_webui.env] 'WEB_SEARCH_ENGINE' loaded from the latest database entry
INFO [open_webui.env] 'BYPASS_WEB_SEARCH_EMBEDDING_AND_RETRIEVAL' loaded from the latest database entry
INFO [open_webui.env] 'BYPASS_WEB_SEARCH_WEB_LOADER' loaded from the latest database entry
INFO [open_webui.env] 'WEB_SEARCH_RESULT_COUNT' loaded from the latest database entry
INFO [open_webui.env] 'WEB_SEARCH_DOMAIN_FILTER_LIST' loaded from the latest database entry
INFO [open_webui.env] 'WEB_SEARCH_CONCURRENT_REQUESTS' loaded from the latest database entry
INFO [open_webui.env] 'WEB_LOADER_ENGINE' loaded from the latest database entry
INFO [open_webui.env] 'WEB_LOADER_CONCURRENT_REQUESTS' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_WEB_LOADER_SSL_VERIFICATION' loaded from the latest database entry
INFO [open_webui.env] 'WEB_SEARCH_TRUST_ENV' loaded from the latest database entry
INFO [open_webui.env] 'OLLAMA_CLOUD_WEB_SEARCH_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'SEARXNG_QUERY_URL' loaded from the latest database entry
INFO [open_webui.env] 'YACY_QUERY_URL' loaded from the latest database entry
INFO [open_webui.env] 'YACY_USERNAME' loaded from the latest database entry
INFO [open_webui.env] 'YACY_PASSWORD' loaded from the latest database entry
INFO [open_webui.env] 'GOOGLE_PSE_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'GOOGLE_PSE_ENGINE_ID' loaded from the latest database entry
INFO [open_webui.env] 'BRAVE_SEARCH_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'KAGI_SEARCH_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'MOJEEK_SEARCH_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'BOCHA_SEARCH_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'SERPSTACK_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'SERPSTACK_HTTPS' loaded from the latest database entry
INFO [open_webui.env] 'SERPER_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'SERPLY_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'JINA_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'SEARCHAPI_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'SEARCHAPI_ENGINE' loaded from the latest database entry
INFO [open_webui.env] 'SERPAPI_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'SERPAPI_ENGINE' loaded from the latest database entry
INFO [open_webui.env] 'BING_SEARCH_V7_ENDPOINT' loaded from the latest database entry
INFO [open_webui.env] 'BING_SEARCH_V7_SUBSCRIPTION_KEY' loaded from the latest database entry
INFO [open_webui.env] 'EXA_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'PERPLEXITY_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'PERPLEXITY_MODEL' loaded from the latest database entry
INFO [open_webui.env] 'PERPLEXITY_SEARCH_CONTEXT_USAGE' loaded from the latest database entry
INFO [open_webui.env] 'SOUGOU_API_SID' loaded from the latest database entry
INFO [open_webui.env] 'SOUGOU_API_SK' loaded from the latest database entry
INFO [open_webui.env] 'TAVILY_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'TAVILY_EXTRACT_DEPTH' loaded from the latest database entry
INFO [open_webui.env] 'PLAYWRIGHT_WS_URL' loaded from the latest database entry
INFO [open_webui.env] 'PLAYWRIGHT_TIMEOUT' loaded from the latest database entry
INFO [open_webui.env] 'FIRECRAWL_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'FIRECRAWL_API_BASE_URL' loaded from the latest database entry
INFO [open_webui.env] 'EXTERNAL_WEB_SEARCH_URL' loaded from the latest database entry
INFO [open_webui.env] 'EXTERNAL_WEB_SEARCH_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'EXTERNAL_WEB_LOADER_URL' loaded from the latest database entry
INFO [open_webui.env] 'EXTERNAL_WEB_LOADER_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'WHISPER_MODEL' loaded from the latest database entry
INFO [open_webui.env] 'DEEPGRAM_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_STT_OPENAI_API_BASE_URL' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_STT_OPENAI_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_STT_ENGINE' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_STT_MODEL' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_STT_SUPPORTED_CONTENT_TYPES' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_STT_AZURE_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_STT_AZURE_REGION' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_STT_AZURE_LOCALES' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_STT_AZURE_BASE_URL' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_STT_AZURE_MAX_SPEAKERS' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_TTS_OPENAI_API_BASE_URL' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_TTS_OPENAI_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_TTS_OPENAI_PARAMS' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_TTS_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_TTS_ENGINE' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_TTS_MODEL' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_TTS_VOICE' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_TTS_SPLIT_ON' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_TTS_AZURE_SPEECH_REGION' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_TTS_AZURE_SPEECH_BASE_URL' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_TTS_AZURE_SPEECH_OUTPUT_FORMAT' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_LDAP' loaded from the latest database entry
WARNI [langchain_community.utils.user_agent] USER_AGENT environment variable not set, consider setting it to identify your requests.
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Aborted (core dumped)
Additional Information
No response
Originally created by @bobglithero on GitHub (Oct 17, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/18403
### Check Existing Issues
- [x] I have searched for any existing and/or related issues.
- [x] I have searched for any existing and/or related discussions.
- [x] I am using the latest version of Open WebUI.
### Installation Method
Pip Install
### Open WebUI Version
v0.6.34
### Ollama Version (if applicable)
0.7.1
### Operating System
Ubuntu 24.04.3 LTS
### Browser (if applicable)
Firefox 144.0
### Confirmation
- [x] I have read and followed all instructions in `README.md`.
- [x] I am using the latest version of **both** Open WebUI and Ollama.
- [x] I have included the browser console logs.
- [x] I have included the Docker container logs.
- [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.**
- [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
- [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps:
- Start with the initial platform/version/OS and dependencies used,
- Specify exact install/launch/configure commands,
- List URLs visited, user input (incl. example values/emails/passwords if needed),
- Describe all options and toggles enabled or changed,
- Include any files or environmental changes,
- Identify the expected and actual result at each stage,
- Ensure any reasonably skilled user can follow and hit the same issue.
### Expected Behavior
running 'open-webui serve' from the command line should produce a running instance of open webui (i'm running pip, not docker).
### Actual Behavior
the system crashes and dumps the core with a mem alloc error. running fully-patched ubuntu 24..04.3 environment
### Steps to Reproduce
1. start with fully patched ubuntu install
2. start venv
3. run uv pip install --upgrade open-webui to upgrade from 0.6.33 to 0.6.34
4. open-webui serve
5. i get the log output shown below
### Logs & Screenshots
open webui log:
(mcp) bob@machine-2025:~$ open-webui serve
Loading WEBUI_SECRET_KEY from file, not provided as an environment variable.
Loading WEBUI_SECRET_KEY from /home/bob/.webui_secret_key
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
INFO [open_webui.env] 'ENABLE_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_API_KEY_ENDPOINT_RESTRICTIONS' loaded from the latest database entry
INFO [open_webui.env] 'API_KEY_ALLOWED_ENDPOINTS' loaded from the latest database entry
INFO [open_webui.env] 'JWT_EXPIRES_IN' loaded from the latest database entry
WARNI [open_webui.env] ⚠️ SECURITY WARNING: JWT_EXPIRES_IN is set to '-1'
See: https://docs.openwebui.com/getting-started/env-configuration
INFO [open_webui.env] 'ENABLE_DIRECT_CONNECTIONS' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_OLLAMA_API' loaded from the latest database entry
INFO [open_webui.env] 'OLLAMA_BASE_URLS' loaded from the latest database entry
INFO [open_webui.env] 'OLLAMA_API_CONFIGS' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_OPENAI_API' loaded from the latest database entry
INFO [open_webui.env] 'OPENAI_API_KEYS' loaded from the latest database entry
INFO [open_webui.env] 'OPENAI_API_BASE_URLS' loaded from the latest database entry
INFO [open_webui.env] 'OPENAI_API_CONFIGS' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_BASE_MODELS_CACHE' loaded from the latest database entry
INFO [open_webui.env] 'TOOL_SERVER_CONNECTIONS' loaded from the latest database entry
INFO [open_webui.env] 'WEBUI_URL' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_SIGNUP' loaded from the latest database entry
INFO [open_webui.env] 'DEFAULT_PROMPT_SUGGESTIONS' loaded from the latest database entry
INFO [open_webui.env] 'DEFAULT_USER_ROLE' loaded from the latest database entry
INFO [open_webui.env] 'PENDING_USER_OVERLAY_TITLE' loaded from the latest database entry
INFO [open_webui.env] 'PENDING_USER_OVERLAY_CONTENT' loaded from the latest database entry
INFO [open_webui.env] 'RESPONSE_WATERMARK' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_CHANNELS' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_NOTES' loaded from the latest database entry
INFO [open_webui.env] 'WEBHOOK_URL' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_COMMUNITY_SHARING' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_MESSAGE_RATING' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_USER_WEBHOOKS' loaded from the latest database entry
WARNI [open_webui.env]
WARNING: CORS_ALLOW_ORIGIN IS SET TO '*' - NOT RECOMMENDED FOR PRODUCTION DEPLOYMENTS.
INFO [open_webui.env] 'WEBUI_BANNERS' loaded from the latest database entry
INFO [open_webui.env] 'SHOW_ADMIN_DETAILS' loaded from the latest database entry
INFO [open_webui.env] 'TASK_MODEL' loaded from the latest database entry
INFO [open_webui.env] 'TASK_MODEL_EXTERNAL' loaded from the latest database entry
INFO [open_webui.env] 'TITLE_GENERATION_PROMPT_TEMPLATE' loaded from the latest database entry
INFO [open_webui.env] 'TAGS_GENERATION_PROMPT_TEMPLATE' loaded from the latest database entry
INFO [open_webui.env] 'IMAGE_PROMPT_GENERATION_PROMPT_TEMPLATE' loaded from the latest database entry
INFO [open_webui.env] 'FOLLOW_UP_GENERATION_PROMPT_TEMPLATE' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_FOLLOW_UP_GENERATION' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_TAGS_GENERATION' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_TITLE_GENERATION' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_SEARCH_QUERY_GENERATION' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_RETRIEVAL_QUERY_GENERATION' loaded from the latest database entry
INFO [open_webui.env] 'QUERY_GENERATION_PROMPT_TEMPLATE' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_AUTOCOMPLETE_GENERATION' loaded from the latest database entry
INFO [open_webui.env] 'AUTOCOMPLETE_GENERATION_INPUT_MAX_LENGTH' loaded from the latest database entry
INFO [open_webui.env] 'TOOLS_FUNCTION_CALLING_PROMPT_TEMPLATE' loaded from the latest database entry
INFO [open_webui.env] VECTOR_DB: chroma
INFO [open_webui.env] 'ENABLE_GOOGLE_DRIVE_INTEGRATION' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_ONEDRIVE_INTEGRATION' loaded from the latest database entry
INFO [open_webui.env] 'CONTENT_EXTRACTION_ENGINE' loaded from the latest database entry
INFO [open_webui.env] 'DATALAB_MARKER_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'DATALAB_MARKER_API_BASE_URL' loaded from the latest database entry
INFO [open_webui.env] 'DATALAB_MARKER_ADDITIONAL_CONFIG' loaded from the latest database entry
INFO [open_webui.env] 'DATALAB_MARKER_USE_LLM' loaded from the latest database entry
INFO [open_webui.env] 'DATALAB_MARKER_SKIP_CACHE' loaded from the latest database entry
INFO [open_webui.env] 'DATALAB_MARKER_FORCE_OCR' loaded from the latest database entry
INFO [open_webui.env] 'DATALAB_MARKER_PAGINATE' loaded from the latest database entry
INFO [open_webui.env] 'DATALAB_MARKER_STRIP_EXISTING_OCR' loaded from the latest database entry
INFO [open_webui.env] 'DATALAB_MARKER_DISABLE_IMAGE_EXTRACTION' loaded from the latest database entry
INFO [open_webui.env] 'DATALAB_MARKER_FORMAT_LINES' loaded from the latest database entry
INFO [open_webui.env] 'DATALAB_MARKER_OUTPUT_FORMAT' loaded from the latest database entry
INFO [open_webui.env] 'EXTERNAL_DOCUMENT_LOADER_URL' loaded from the latest database entry
INFO [open_webui.env] 'EXTERNAL_DOCUMENT_LOADER_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'TIKA_SERVER_URL' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_SERVER_URL' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_PARAMS' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_DO_OCR' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_FORCE_OCR' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_OCR_ENGINE' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_OCR_LANG' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_PDF_BACKEND' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_TABLE_MODE' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_PIPELINE' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_DO_PICTURE_DESCRIPTION' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_PICTURE_DESCRIPTION_MODE' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_PICTURE_DESCRIPTION_LOCAL' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_PICTURE_DESCRIPTION_API' loaded from the latest database entry
INFO [open_webui.env] 'DOCUMENT_INTELLIGENCE_ENDPOINT' loaded from the latest database entry
INFO [open_webui.env] 'DOCUMENT_INTELLIGENCE_KEY' loaded from the latest database entry
INFO [open_webui.env] 'MISTRAL_OCR_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'BYPASS_EMBEDDING_AND_RETRIEVAL' loaded from the latest database entry
INFO [open_webui.env] 'RAG_TOP_K' loaded from the latest database entry
INFO [open_webui.env] 'RAG_TOP_K_RERANKER' loaded from the latest database entry
INFO [open_webui.env] 'RAG_RELEVANCE_THRESHOLD' loaded from the latest database entry
INFO [open_webui.env] 'RAG_HYBRID_BM25_WEIGHT' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_RAG_HYBRID_SEARCH' loaded from the latest database entry
INFO [open_webui.env] 'RAG_FULL_CONTEXT' loaded from the latest database entry
INFO [open_webui.env] 'RAG_ALLOWED_FILE_EXTENSIONS' loaded from the latest database entry
INFO [open_webui.env] 'RAG_EMBEDDING_ENGINE' loaded from the latest database entry
INFO [open_webui.env] 'PDF_EXTRACT_IMAGES' loaded from the latest database entry
INFO [open_webui.env] 'RAG_EMBEDDING_MODEL' loaded from the latest database entry
INFO [open_webui.env] Embedding model set: sentence-transformers/all-MiniLM-L6-v2
INFO [open_webui.env] 'RAG_RERANKING_ENGINE' loaded from the latest database entry
INFO [open_webui.env] 'RAG_RERANKING_MODEL' loaded from the latest database entry
INFO [open_webui.env] 'RAG_EXTERNAL_RERANKER_URL' loaded from the latest database entry
INFO [open_webui.env] 'RAG_EXTERNAL_RERANKER_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'RAG_TEXT_SPLITTER' loaded from the latest database entry
INFO [open_webui.env] 'CHUNK_SIZE' loaded from the latest database entry
INFO [open_webui.env] 'CHUNK_OVERLAP' loaded from the latest database entry
INFO [open_webui.env] 'RAG_TEMPLATE' loaded from the latest database entry
INFO [open_webui.env] 'YOUTUBE_LOADER_LANGUAGE' loaded from the latest database entry
INFO [open_webui.env] 'YOUTUBE_LOADER_PROXY_URL' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_WEB_SEARCH' loaded from the latest database entry
INFO [open_webui.env] 'WEB_SEARCH_ENGINE' loaded from the latest database entry
INFO [open_webui.env] 'BYPASS_WEB_SEARCH_EMBEDDING_AND_RETRIEVAL' loaded from the latest database entry
INFO [open_webui.env] 'BYPASS_WEB_SEARCH_WEB_LOADER' loaded from the latest database entry
INFO [open_webui.env] 'WEB_SEARCH_RESULT_COUNT' loaded from the latest database entry
INFO [open_webui.env] 'WEB_SEARCH_DOMAIN_FILTER_LIST' loaded from the latest database entry
INFO [open_webui.env] 'WEB_SEARCH_CONCURRENT_REQUESTS' loaded from the latest database entry
INFO [open_webui.env] 'WEB_LOADER_ENGINE' loaded from the latest database entry
INFO [open_webui.env] 'WEB_LOADER_CONCURRENT_REQUESTS' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_WEB_LOADER_SSL_VERIFICATION' loaded from the latest database entry
INFO [open_webui.env] 'WEB_SEARCH_TRUST_ENV' loaded from the latest database entry
INFO [open_webui.env] 'OLLAMA_CLOUD_WEB_SEARCH_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'SEARXNG_QUERY_URL' loaded from the latest database entry
INFO [open_webui.env] 'YACY_QUERY_URL' loaded from the latest database entry
INFO [open_webui.env] 'YACY_USERNAME' loaded from the latest database entry
INFO [open_webui.env] 'YACY_PASSWORD' loaded from the latest database entry
INFO [open_webui.env] 'GOOGLE_PSE_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'GOOGLE_PSE_ENGINE_ID' loaded from the latest database entry
INFO [open_webui.env] 'BRAVE_SEARCH_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'KAGI_SEARCH_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'MOJEEK_SEARCH_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'BOCHA_SEARCH_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'SERPSTACK_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'SERPSTACK_HTTPS' loaded from the latest database entry
INFO [open_webui.env] 'SERPER_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'SERPLY_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'JINA_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'SEARCHAPI_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'SEARCHAPI_ENGINE' loaded from the latest database entry
INFO [open_webui.env] 'SERPAPI_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'SERPAPI_ENGINE' loaded from the latest database entry
INFO [open_webui.env] 'BING_SEARCH_V7_ENDPOINT' loaded from the latest database entry
INFO [open_webui.env] 'BING_SEARCH_V7_SUBSCRIPTION_KEY' loaded from the latest database entry
INFO [open_webui.env] 'EXA_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'PERPLEXITY_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'PERPLEXITY_MODEL' loaded from the latest database entry
INFO [open_webui.env] 'PERPLEXITY_SEARCH_CONTEXT_USAGE' loaded from the latest database entry
INFO [open_webui.env] 'SOUGOU_API_SID' loaded from the latest database entry
INFO [open_webui.env] 'SOUGOU_API_SK' loaded from the latest database entry
INFO [open_webui.env] 'TAVILY_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'TAVILY_EXTRACT_DEPTH' loaded from the latest database entry
INFO [open_webui.env] 'PLAYWRIGHT_WS_URL' loaded from the latest database entry
INFO [open_webui.env] 'PLAYWRIGHT_TIMEOUT' loaded from the latest database entry
INFO [open_webui.env] 'FIRECRAWL_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'FIRECRAWL_API_BASE_URL' loaded from the latest database entry
INFO [open_webui.env] 'EXTERNAL_WEB_SEARCH_URL' loaded from the latest database entry
INFO [open_webui.env] 'EXTERNAL_WEB_SEARCH_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'EXTERNAL_WEB_LOADER_URL' loaded from the latest database entry
INFO [open_webui.env] 'EXTERNAL_WEB_LOADER_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'WHISPER_MODEL' loaded from the latest database entry
INFO [open_webui.env] 'DEEPGRAM_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_STT_OPENAI_API_BASE_URL' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_STT_OPENAI_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_STT_ENGINE' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_STT_MODEL' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_STT_SUPPORTED_CONTENT_TYPES' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_STT_AZURE_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_STT_AZURE_REGION' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_STT_AZURE_LOCALES' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_STT_AZURE_BASE_URL' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_STT_AZURE_MAX_SPEAKERS' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_TTS_OPENAI_API_BASE_URL' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_TTS_OPENAI_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_TTS_OPENAI_PARAMS' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_TTS_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_TTS_ENGINE' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_TTS_MODEL' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_TTS_VOICE' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_TTS_SPLIT_ON' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_TTS_AZURE_SPEECH_REGION' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_TTS_AZURE_SPEECH_BASE_URL' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_TTS_AZURE_SPEECH_OUTPUT_FORMAT' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_LDAP' loaded from the latest database entry
WARNI [langchain_community.utils.user_agent] USER_AGENT environment variable not set, consider setting it to identify your requests.
██████╗ ██████╗ ███████╗███╗ ██╗ ██╗ ██╗███████╗██████╗ ██╗ ██╗██╗
██╔═══██╗██╔══██╗██╔════╝████╗ ██║ ██║ ██║██╔════╝██╔══██╗██║ ██║██║
██║ ██║██████╔╝█████╗ ██╔██╗ ██║ ██║ █╗ ██║█████╗ ██████╔╝██║ ██║██║
██║ ██║██╔═══╝ ██╔══╝ ██║╚██╗██║ ██║███╗██║██╔══╝ ██╔══██╗██║ ██║██║
╚██████╔╝██║ ███████╗██║ ╚████║ ╚███╔███╔╝███████╗██████╔╝╚██████╔╝██║
╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═══╝ ╚══╝╚══╝ ╚══════╝╚═════╝ ╚═════╝ ╚═╝
v0.6.34 - building the best AI user interface.
https://github.com/open-webui/open-webui
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Aborted (core dumped)
### Additional Information
_No response_
GiteaMirror
added the bug label 2026-05-25 10:02:49 -05:00
Weird. I also run it on Ubuntu Server 24 LTS on pip and upgraded from 0.6.33 to 0.6.34 today on a test environment, and it worked perfectly fine - so I match exactly your description but no issues for me.
Do you have any other steps to reproduce?
Are you sure this is an issue of Open WebUI or other faulty packages?
Are there any relevant system level logs?
<!-- gh-comment-id:3416780316 -->
@Classic298 commented on GitHub (Oct 17, 2025):
Weird. I also run it on Ubuntu Server 24 LTS on pip and upgraded from 0.6.33 to 0.6.34 today on a test environment, and it worked perfectly fine - so I match exactly your description but no issues for me.
Do you have any other steps to reproduce?
Are you sure this is an issue of Open WebUI or other faulty packages?
Are there any relevant system level logs?
The crash happens right after Open WebUI loads the embedding model (sentence-transformers/all-MiniLM-L6-v2). I'm going to try forcing an update to sentence-transformers, and then trying to bypass embedding on startup. i'll also re-run with memory debugging. sentence-transformers is v5.1.1
<!-- gh-comment-id:3416862105 -->
@bobglithero commented on GitHub (Oct 17, 2025):
The crash happens right after Open WebUI loads the embedding model (sentence-transformers/all-MiniLM-L6-v2). I'm going to try forcing an update to sentence-transformers, and then trying to bypass embedding on startup. i'll also re-run with memory debugging. sentence-transformers is v5.1.1
Here are the last lines:
WARNI [langchain_community.utils.user_agent] USER_AGENT environment variable not set, consider setting it to identify your requests.
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
<!-- gh-comment-id:3416917327 -->
@bobglithero commented on GitHub (Oct 17, 2025):
[startup.log](https://github.com/user-attachments/files/22978984/startup.log)
Here are the last lines:
WARNI [langchain_community.utils.user_agent] USER_AGENT environment variable not set, consider setting it to identify your requests.
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Are you running out of memory (RAM) when this occurs? Swap maybe? Which means disk space as well.
<!-- gh-comment-id:3416943394 -->
@Tsafaras commented on GitHub (Oct 17, 2025):
Are you running out of memory (RAM) when this occurs? Swap maybe? Which means disk space as well.
nothing else on my system has changed, just updating open webui to v0.6.34. reverting to 0.6.33 doesn't help, which makes me wonder if there's a corruption in one of the dependencies?
<!-- gh-comment-id:3416998994 -->
@bobglithero commented on GitHub (Oct 17, 2025):
nothing else on my system has changed, just updating open webui to v0.6.34. reverting to 0.6.33 doesn't help, which makes me wonder if there's a corruption in one of the dependencies?
what do you make of this: mmap(NULL, 134946025295872, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM
to me it looks like it's trying to allocate lot of TB of RAM?
<!-- gh-comment-id:3417075590 -->
@bobglithero commented on GitHub (Oct 17, 2025):
what do you make of this: mmap(NULL, 134946025295872, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM
to me it looks like it's trying to allocate lot of TB of RAM?
That's what it looks like, yeah... That's why I thought of RAM; the error relates to it. Could be a fluke though as well...
Does activity monitor show that the RAM is actually being consumed?
Or does it just stop at the attempt to allocate it?
<!-- gh-comment-id:3417095267 -->
@Tsafaras commented on GitHub (Oct 17, 2025):
That's what it looks like, yeah... That's why I thought of RAM; the error relates to it. _Could be a fluke though as well..._
Does activity monitor show that the RAM is actually being consumed?
Or does it just stop at the attempt to allocate it?
No, it's not actually being consumed. I think I will try rolling back pytorch and then sentence-transformers to earlier version to see if one of those is the culprit
<!-- gh-comment-id:3417099953 -->
@bobglithero commented on GitHub (Oct 17, 2025):
No, it's not actually being consumed. I think I will try rolling back pytorch and then sentence-transformers to earlier version to see if one of those is the culprit
Can you try from a fresh installation of Open WebUI? Careful not to lose stuff you might have saved and want to keep.
And if you have another PC, can you test it there as well?
Just to rule out the "works on my machine" theory...
<!-- gh-comment-id:3417120549 -->
@Tsafaras commented on GitHub (Oct 17, 2025):
Can you try from a fresh installation of Open WebUI?
_Careful not to lose stuff you might have saved and want to keep._
And if you have another PC, can you test it there as well?
Just to rule out the "works on my machine" theory...
I figured out the root cause, and for me the latest torch release was the issue. I'm CPU-only, so I removed and replaced with:
torch 2.9.0+cpu
torchaudio 2.9.0+cpu
torchvision 0.24.0+cpu
<!-- gh-comment-id:3417401850 -->
@bobglithero commented on GitHub (Oct 17, 2025):
I figured out the root cause, and for me the latest torch release was the issue. I'm CPU-only, so I removed and replaced with:
torch 2.9.0+cpu
torchaudio 2.9.0+cpu
torchvision 0.24.0+cpu
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @bobglithero on GitHub (Oct 17, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/18403
Check Existing Issues
Installation Method
Pip Install
Open WebUI Version
v0.6.34
Ollama Version (if applicable)
0.7.1
Operating System
Ubuntu 24.04.3 LTS
Browser (if applicable)
Firefox 144.0
Confirmation
README.md.Expected Behavior
running 'open-webui serve' from the command line should produce a running instance of open webui (i'm running pip, not docker).
Actual Behavior
the system crashes and dumps the core with a mem alloc error. running fully-patched ubuntu 24..04.3 environment
Steps to Reproduce
Logs & Screenshots
open webui log:
(mcp) bob@machine-2025:~$ open-webui serve
Loading WEBUI_SECRET_KEY from file, not provided as an environment variable.
Loading WEBUI_SECRET_KEY from /home/bob/.webui_secret_key
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
INFO [open_webui.env] 'ENABLE_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_API_KEY_ENDPOINT_RESTRICTIONS' loaded from the latest database entry
INFO [open_webui.env] 'API_KEY_ALLOWED_ENDPOINTS' loaded from the latest database entry
INFO [open_webui.env] 'JWT_EXPIRES_IN' loaded from the latest database entry
WARNI [open_webui.env] ⚠️ SECURITY WARNING: JWT_EXPIRES_IN is set to '-1'
See: https://docs.openwebui.com/getting-started/env-configuration
INFO [open_webui.env] 'ENABLE_DIRECT_CONNECTIONS' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_OLLAMA_API' loaded from the latest database entry
INFO [open_webui.env] 'OLLAMA_BASE_URLS' loaded from the latest database entry
INFO [open_webui.env] 'OLLAMA_API_CONFIGS' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_OPENAI_API' loaded from the latest database entry
INFO [open_webui.env] 'OPENAI_API_KEYS' loaded from the latest database entry
INFO [open_webui.env] 'OPENAI_API_BASE_URLS' loaded from the latest database entry
INFO [open_webui.env] 'OPENAI_API_CONFIGS' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_BASE_MODELS_CACHE' loaded from the latest database entry
INFO [open_webui.env] 'TOOL_SERVER_CONNECTIONS' loaded from the latest database entry
INFO [open_webui.env] 'WEBUI_URL' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_SIGNUP' loaded from the latest database entry
INFO [open_webui.env] 'DEFAULT_PROMPT_SUGGESTIONS' loaded from the latest database entry
INFO [open_webui.env] 'DEFAULT_USER_ROLE' loaded from the latest database entry
INFO [open_webui.env] 'PENDING_USER_OVERLAY_TITLE' loaded from the latest database entry
INFO [open_webui.env] 'PENDING_USER_OVERLAY_CONTENT' loaded from the latest database entry
INFO [open_webui.env] 'RESPONSE_WATERMARK' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_CHANNELS' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_NOTES' loaded from the latest database entry
INFO [open_webui.env] 'WEBHOOK_URL' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_COMMUNITY_SHARING' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_MESSAGE_RATING' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_USER_WEBHOOKS' loaded from the latest database entry
WARNI [open_webui.env]
WARNING: CORS_ALLOW_ORIGIN IS SET TO '*' - NOT RECOMMENDED FOR PRODUCTION DEPLOYMENTS.
INFO [open_webui.env] 'WEBUI_BANNERS' loaded from the latest database entry
INFO [open_webui.env] 'SHOW_ADMIN_DETAILS' loaded from the latest database entry
INFO [open_webui.env] 'TASK_MODEL' loaded from the latest database entry
INFO [open_webui.env] 'TASK_MODEL_EXTERNAL' loaded from the latest database entry
INFO [open_webui.env] 'TITLE_GENERATION_PROMPT_TEMPLATE' loaded from the latest database entry
INFO [open_webui.env] 'TAGS_GENERATION_PROMPT_TEMPLATE' loaded from the latest database entry
INFO [open_webui.env] 'IMAGE_PROMPT_GENERATION_PROMPT_TEMPLATE' loaded from the latest database entry
INFO [open_webui.env] 'FOLLOW_UP_GENERATION_PROMPT_TEMPLATE' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_FOLLOW_UP_GENERATION' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_TAGS_GENERATION' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_TITLE_GENERATION' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_SEARCH_QUERY_GENERATION' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_RETRIEVAL_QUERY_GENERATION' loaded from the latest database entry
INFO [open_webui.env] 'QUERY_GENERATION_PROMPT_TEMPLATE' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_AUTOCOMPLETE_GENERATION' loaded from the latest database entry
INFO [open_webui.env] 'AUTOCOMPLETE_GENERATION_INPUT_MAX_LENGTH' loaded from the latest database entry
INFO [open_webui.env] 'TOOLS_FUNCTION_CALLING_PROMPT_TEMPLATE' loaded from the latest database entry
INFO [open_webui.env] VECTOR_DB: chroma
INFO [open_webui.env] 'ENABLE_GOOGLE_DRIVE_INTEGRATION' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_ONEDRIVE_INTEGRATION' loaded from the latest database entry
INFO [open_webui.env] 'CONTENT_EXTRACTION_ENGINE' loaded from the latest database entry
INFO [open_webui.env] 'DATALAB_MARKER_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'DATALAB_MARKER_API_BASE_URL' loaded from the latest database entry
INFO [open_webui.env] 'DATALAB_MARKER_ADDITIONAL_CONFIG' loaded from the latest database entry
INFO [open_webui.env] 'DATALAB_MARKER_USE_LLM' loaded from the latest database entry
INFO [open_webui.env] 'DATALAB_MARKER_SKIP_CACHE' loaded from the latest database entry
INFO [open_webui.env] 'DATALAB_MARKER_FORCE_OCR' loaded from the latest database entry
INFO [open_webui.env] 'DATALAB_MARKER_PAGINATE' loaded from the latest database entry
INFO [open_webui.env] 'DATALAB_MARKER_STRIP_EXISTING_OCR' loaded from the latest database entry
INFO [open_webui.env] 'DATALAB_MARKER_DISABLE_IMAGE_EXTRACTION' loaded from the latest database entry
INFO [open_webui.env] 'DATALAB_MARKER_FORMAT_LINES' loaded from the latest database entry
INFO [open_webui.env] 'DATALAB_MARKER_OUTPUT_FORMAT' loaded from the latest database entry
INFO [open_webui.env] 'EXTERNAL_DOCUMENT_LOADER_URL' loaded from the latest database entry
INFO [open_webui.env] 'EXTERNAL_DOCUMENT_LOADER_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'TIKA_SERVER_URL' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_SERVER_URL' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_PARAMS' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_DO_OCR' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_FORCE_OCR' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_OCR_ENGINE' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_OCR_LANG' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_PDF_BACKEND' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_TABLE_MODE' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_PIPELINE' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_DO_PICTURE_DESCRIPTION' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_PICTURE_DESCRIPTION_MODE' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_PICTURE_DESCRIPTION_LOCAL' loaded from the latest database entry
INFO [open_webui.env] 'DOCLING_PICTURE_DESCRIPTION_API' loaded from the latest database entry
INFO [open_webui.env] 'DOCUMENT_INTELLIGENCE_ENDPOINT' loaded from the latest database entry
INFO [open_webui.env] 'DOCUMENT_INTELLIGENCE_KEY' loaded from the latest database entry
INFO [open_webui.env] 'MISTRAL_OCR_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'BYPASS_EMBEDDING_AND_RETRIEVAL' loaded from the latest database entry
INFO [open_webui.env] 'RAG_TOP_K' loaded from the latest database entry
INFO [open_webui.env] 'RAG_TOP_K_RERANKER' loaded from the latest database entry
INFO [open_webui.env] 'RAG_RELEVANCE_THRESHOLD' loaded from the latest database entry
INFO [open_webui.env] 'RAG_HYBRID_BM25_WEIGHT' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_RAG_HYBRID_SEARCH' loaded from the latest database entry
INFO [open_webui.env] 'RAG_FULL_CONTEXT' loaded from the latest database entry
INFO [open_webui.env] 'RAG_ALLOWED_FILE_EXTENSIONS' loaded from the latest database entry
INFO [open_webui.env] 'RAG_EMBEDDING_ENGINE' loaded from the latest database entry
INFO [open_webui.env] 'PDF_EXTRACT_IMAGES' loaded from the latest database entry
INFO [open_webui.env] 'RAG_EMBEDDING_MODEL' loaded from the latest database entry
INFO [open_webui.env] Embedding model set: sentence-transformers/all-MiniLM-L6-v2
INFO [open_webui.env] 'RAG_RERANKING_ENGINE' loaded from the latest database entry
INFO [open_webui.env] 'RAG_RERANKING_MODEL' loaded from the latest database entry
INFO [open_webui.env] 'RAG_EXTERNAL_RERANKER_URL' loaded from the latest database entry
INFO [open_webui.env] 'RAG_EXTERNAL_RERANKER_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'RAG_TEXT_SPLITTER' loaded from the latest database entry
INFO [open_webui.env] 'CHUNK_SIZE' loaded from the latest database entry
INFO [open_webui.env] 'CHUNK_OVERLAP' loaded from the latest database entry
INFO [open_webui.env] 'RAG_TEMPLATE' loaded from the latest database entry
INFO [open_webui.env] 'YOUTUBE_LOADER_LANGUAGE' loaded from the latest database entry
INFO [open_webui.env] 'YOUTUBE_LOADER_PROXY_URL' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_WEB_SEARCH' loaded from the latest database entry
INFO [open_webui.env] 'WEB_SEARCH_ENGINE' loaded from the latest database entry
INFO [open_webui.env] 'BYPASS_WEB_SEARCH_EMBEDDING_AND_RETRIEVAL' loaded from the latest database entry
INFO [open_webui.env] 'BYPASS_WEB_SEARCH_WEB_LOADER' loaded from the latest database entry
INFO [open_webui.env] 'WEB_SEARCH_RESULT_COUNT' loaded from the latest database entry
INFO [open_webui.env] 'WEB_SEARCH_DOMAIN_FILTER_LIST' loaded from the latest database entry
INFO [open_webui.env] 'WEB_SEARCH_CONCURRENT_REQUESTS' loaded from the latest database entry
INFO [open_webui.env] 'WEB_LOADER_ENGINE' loaded from the latest database entry
INFO [open_webui.env] 'WEB_LOADER_CONCURRENT_REQUESTS' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_WEB_LOADER_SSL_VERIFICATION' loaded from the latest database entry
INFO [open_webui.env] 'WEB_SEARCH_TRUST_ENV' loaded from the latest database entry
INFO [open_webui.env] 'OLLAMA_CLOUD_WEB_SEARCH_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'SEARXNG_QUERY_URL' loaded from the latest database entry
INFO [open_webui.env] 'YACY_QUERY_URL' loaded from the latest database entry
INFO [open_webui.env] 'YACY_USERNAME' loaded from the latest database entry
INFO [open_webui.env] 'YACY_PASSWORD' loaded from the latest database entry
INFO [open_webui.env] 'GOOGLE_PSE_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'GOOGLE_PSE_ENGINE_ID' loaded from the latest database entry
INFO [open_webui.env] 'BRAVE_SEARCH_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'KAGI_SEARCH_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'MOJEEK_SEARCH_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'BOCHA_SEARCH_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'SERPSTACK_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'SERPSTACK_HTTPS' loaded from the latest database entry
INFO [open_webui.env] 'SERPER_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'SERPLY_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'JINA_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'SEARCHAPI_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'SEARCHAPI_ENGINE' loaded from the latest database entry
INFO [open_webui.env] 'SERPAPI_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'SERPAPI_ENGINE' loaded from the latest database entry
INFO [open_webui.env] 'BING_SEARCH_V7_ENDPOINT' loaded from the latest database entry
INFO [open_webui.env] 'BING_SEARCH_V7_SUBSCRIPTION_KEY' loaded from the latest database entry
INFO [open_webui.env] 'EXA_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'PERPLEXITY_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'PERPLEXITY_MODEL' loaded from the latest database entry
INFO [open_webui.env] 'PERPLEXITY_SEARCH_CONTEXT_USAGE' loaded from the latest database entry
INFO [open_webui.env] 'SOUGOU_API_SID' loaded from the latest database entry
INFO [open_webui.env] 'SOUGOU_API_SK' loaded from the latest database entry
INFO [open_webui.env] 'TAVILY_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'TAVILY_EXTRACT_DEPTH' loaded from the latest database entry
INFO [open_webui.env] 'PLAYWRIGHT_WS_URL' loaded from the latest database entry
INFO [open_webui.env] 'PLAYWRIGHT_TIMEOUT' loaded from the latest database entry
INFO [open_webui.env] 'FIRECRAWL_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'FIRECRAWL_API_BASE_URL' loaded from the latest database entry
INFO [open_webui.env] 'EXTERNAL_WEB_SEARCH_URL' loaded from the latest database entry
INFO [open_webui.env] 'EXTERNAL_WEB_SEARCH_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'EXTERNAL_WEB_LOADER_URL' loaded from the latest database entry
INFO [open_webui.env] 'EXTERNAL_WEB_LOADER_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'WHISPER_MODEL' loaded from the latest database entry
INFO [open_webui.env] 'DEEPGRAM_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_STT_OPENAI_API_BASE_URL' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_STT_OPENAI_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_STT_ENGINE' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_STT_MODEL' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_STT_SUPPORTED_CONTENT_TYPES' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_STT_AZURE_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_STT_AZURE_REGION' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_STT_AZURE_LOCALES' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_STT_AZURE_BASE_URL' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_STT_AZURE_MAX_SPEAKERS' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_TTS_OPENAI_API_BASE_URL' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_TTS_OPENAI_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_TTS_OPENAI_PARAMS' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_TTS_API_KEY' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_TTS_ENGINE' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_TTS_MODEL' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_TTS_VOICE' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_TTS_SPLIT_ON' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_TTS_AZURE_SPEECH_REGION' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_TTS_AZURE_SPEECH_BASE_URL' loaded from the latest database entry
INFO [open_webui.env] 'AUDIO_TTS_AZURE_SPEECH_OUTPUT_FORMAT' loaded from the latest database entry
INFO [open_webui.env] 'ENABLE_LDAP' loaded from the latest database entry
WARNI [langchain_community.utils.user_agent] USER_AGENT environment variable not set, consider setting it to identify your requests.
██████╗ ██████╗ ███████╗███╗ ██╗ ██╗ ██╗███████╗██████╗ ██╗ ██╗██╗
██╔═══██╗██╔══██╗██╔════╝████╗ ██║ ██║ ██║██╔════╝██╔══██╗██║ ██║██║
██║ ██║██████╔╝█████╗ ██╔██╗ ██║ ██║ █╗ ██║█████╗ ██████╔╝██║ ██║██║
██║ ██║██╔═══╝ ██╔══╝ ██║╚██╗██║ ██║███╗██║██╔══╝ ██╔══██╗██║ ██║██║
╚██████╔╝██║ ███████╗██║ ╚████║ ╚███╔███╔╝███████╗██████╔╝╚██████╔╝██║
╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═══╝ ╚══╝╚══╝ ╚══════╝╚═════╝ ╚═════╝ ╚═╝
v0.6.34 - building the best AI user interface.
https://github.com/open-webui/open-webui
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Aborted (core dumped)
Additional Information
No response
@Classic298 commented on GitHub (Oct 17, 2025):
Weird. I also run it on Ubuntu Server 24 LTS on pip and upgraded from 0.6.33 to 0.6.34 today on a test environment, and it worked perfectly fine - so I match exactly your description but no issues for me.
Do you have any other steps to reproduce?
Are you sure this is an issue of Open WebUI or other faulty packages?
Are there any relevant system level logs?
@bobglithero commented on GitHub (Oct 17, 2025):
The crash happens right after Open WebUI loads the embedding model (sentence-transformers/all-MiniLM-L6-v2). I'm going to try forcing an update to sentence-transformers, and then trying to bypass embedding on startup. i'll also re-run with memory debugging. sentence-transformers is v5.1.1
@bobglithero commented on GitHub (Oct 17, 2025):
export BYPASS_EMBEDDING_AND_RETRIEVAL=true
open-webui serve
i'll post the output from valgrind next.
@bobglithero commented on GitHub (Oct 17, 2025):
valgrind.log
@bobglithero commented on GitHub (Oct 17, 2025):
startup.log
Here are the last lines:
WARNI [langchain_community.utils.user_agent] USER_AGENT environment variable not set, consider setting it to identify your requests.
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
@Tsafaras commented on GitHub (Oct 17, 2025):
Are you running out of memory (RAM) when this occurs? Swap maybe? Which means disk space as well.
@bobglithero commented on GitHub (Oct 17, 2025):
4.8 GB of 64 GB of system ram is in use
0% of 8.6 GB swap is in use
@bobglithero commented on GitHub (Oct 17, 2025):
nothing else on my system has changed, just updating open webui to v0.6.34. reverting to 0.6.33 doesn't help, which makes me wonder if there's a corruption in one of the dependencies?
@bobglithero commented on GitHub (Oct 17, 2025):
ran strace. grep -E "mmap|brk|munmap" strace.log | tail -50 produces:
10907 munmap(0x7abd6c52e000, 16384) = 0
10907 mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7abd6c52e000
10907 munmap(0x7abd6c52e000, 16384) = 0
10907 mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7abd6c52e000
10907 munmap(0x7abd6c52e000, 16384) = 0
10907 mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7abd6c52e000
10907 munmap(0x7abd6c52e000, 16384) = 0
10907 mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7abd6c52e000
10907 munmap(0x7abd6c52e000, 16384) = 0
10907 mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7abd6c52e000
10907 munmap(0x7abd6c52e000, 16384) = 0
10907 mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7abd6c52e000
10907 munmap(0x7abd6c52e000, 16384) = 0
10907 mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7abd6c52e000
10907 munmap(0x7abd6c52e000, 16384) = 0
10907 mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7abd6c52e000
10907 munmap(0x7abd6c52e000, 16384) = 0
10907 mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7abd6c52e000
10907 munmap(0x7abd6c52e000, 16384) = 0
10907 mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7abd6c52e000
10907 munmap(0x7abd6c52e000, 16384) = 0
10907 mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7abd6c52e000
10907 munmap(0x7abd6c52e000, 16384) = 0
10907 mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7abd6c52e000
10907 munmap(0x7abd6c52e000, 16384) = 0
10907 mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7abd6c52e000
10907 munmap(0x7abd6c52e000, 16384) = 0
10907 mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7abd6c52e000
10907 munmap(0x7abd6c52e000, 16384) = 0
10907 mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7abd6c52e000
10907 munmap(0x7abd6c52e000, 16384) = 0
10907 mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7abd6c52e000
10907 munmap(0x7abd6c52e000, 16384) = 0
10907 mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7abd6c52e000
10907 munmap(0x7abd6c52e000, 16384) = 0
10907 mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7abd6c52e000
10907 munmap(0x7abd6c52e000, 16384) = 0
10907 mmap(NULL, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7abb92800000
10907 mmap(NULL, 9729560, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 12, 0) = 0x7abb91e00000
10907 mmap(0x7abb91e56000, 1130496, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 12, 0x56000) = 0x7abb91e56000
10907 mmap(0x7abb91f6a000, 8212480, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 12, 0x16a000) = 0x7abb91f6a000
10907 mmap(0x7abb9273f000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 12, 0x93e000) = 0x7abb9273f000
10907 mmap(0x7abb92746000, 5656, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7abb92746000
10907 mmap(NULL, 134946025295872, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
10907 brk(0x7abbdcba8000) = 0x4ade6000
10907 mmap(NULL, 134946025431040, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
10907 mmap(NULL, 134217728, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7abb89e00000
10907 munmap(0x7abb89e00000, 35651584) = 0
10907 munmap(0x7abb90000000, 31457280) = 0
10907 mmap(NULL, 134946025295872, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
@bobglithero commented on GitHub (Oct 17, 2025):
what do you make of this: mmap(NULL, 134946025295872, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM
to me it looks like it's trying to allocate lot of TB of RAM?
@Tsafaras commented on GitHub (Oct 17, 2025):
That's what it looks like, yeah... That's why I thought of RAM; the error relates to it. Could be a fluke though as well...
Does activity monitor show that the RAM is actually being consumed?
Or does it just stop at the attempt to allocate it?
@bobglithero commented on GitHub (Oct 17, 2025):
No, it's not actually being consumed. I think I will try rolling back pytorch and then sentence-transformers to earlier version to see if one of those is the culprit
@Tsafaras commented on GitHub (Oct 17, 2025):
Can you try from a fresh installation of Open WebUI?
Careful not to lose stuff you might have saved and want to keep.
And if you have another PC, can you test it there as well?
Just to rule out the "works on my machine" theory...
@bobglithero commented on GitHub (Oct 17, 2025):
Yes. will report back in a bit.
@zinccat commented on GitHub (Oct 17, 2025):
Encountered the same error and solved by downgrading to torch 2.8
@bobglithero commented on GitHub (Oct 17, 2025):
I figured out the root cause, and for me the latest torch release was the issue. I'm CPU-only, so I removed and replaced with:
torch 2.9.0+cpu
torchaudio 2.9.0+cpu
torchvision 0.24.0+cpu