[GH-ISSUE #15852] issue: #137420

Closed
opened 2026-05-25 07:15:32 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @KyleMasterson on GitHub (Jul 19, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/15852

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

0.6.15

Ollama Version (if applicable)

No response

Operating System

Docker Image

Browser (if applicable)

Chrome 138.0.7204.101 (arm64)

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

Individual file upload size is restricted
Number of files uploaded is restricted

Actual Behavior

Individual file upload size is restricted
Number of files uploaded is restricted

Steps to Reproduce

  1. Install open-webui as a helm chart to a kubernetes cluster
  2. Provide the following environment variables:
  - name: RAG_FILE_MAX_SIZE
    value: "10"
  - name: RAG_FILE_MAX_COUNT
    value: "5"
  1. Provide more than 5 files in a prompt
  2. The upload will be permitted

Logs & Screenshots

Image

Additional Information

I believe d802c718a4 was intended to flush out the file count maximum restriction, which would in turn provide an mechanism for a simultaneous (albeit per-session) byte transfer limit. The underlying issue I hope to address is frequently crashes of the open-webui due to sudden and concurrent file uploads from my users - if there is another way to achieve this please provide some guidance.

Originally created by @KyleMasterson on GitHub (Jul 19, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/15852 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version 0.6.15 ### Ollama Version (if applicable) _No response_ ### Operating System Docker Image ### Browser (if applicable) Chrome 138.0.7204.101 (arm64) ### 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 Individual file upload size is restricted ✅ Number of files uploaded is restricted ✅ ### Actual Behavior Individual file upload size is restricted ✅ Number of files uploaded is restricted ❌ ### Steps to Reproduce 1. Install open-webui as a helm chart to a kubernetes cluster 2. Provide the following environment variables: ``` - name: RAG_FILE_MAX_SIZE value: "10" - name: RAG_FILE_MAX_COUNT value: "5" ``` 3. Provide more than 5 files in a prompt 4. The upload will be permitted ### Logs & Screenshots <img width="270" height="807" alt="Image" src="https://github.com/user-attachments/assets/e53fc157-397f-435b-b0a0-7e569be8e23b" /> ### Additional Information I believe https://github.com/open-webui/open-webui/commit/d802c718a445f1e387417cf1b79ce4387d146a82 was intended to flush out the file count maximum restriction, which would in turn provide an mechanism for a simultaneous (albeit per-session) byte transfer limit. The underlying issue I hope to address is frequently crashes of the open-webui due to sudden and concurrent file uploads from my users - if there is another way to achieve this please provide some guidance.
GiteaMirror added the bug label 2026-05-25 07:15:32 -05:00
Author
Owner

@silentoplayz commented on GitHub (Jul 19, 2025):

Please add a title to this issue or I will close it.

<!-- gh-comment-id:3091379612 --> @silentoplayz commented on GitHub (Jul 19, 2025): Please add a title to this issue or I will close it.
Author
Owner

@Classic298 commented on GitHub (Jul 19, 2025):

Cannot reproduce. Check what value you have set in the admin panel.

<!-- gh-comment-id:3091949618 --> @Classic298 commented on GitHub (Jul 19, 2025): Cannot reproduce. Check what value you have set in the admin panel.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#137420