[PR #24490] [MERGED] fix(docs): slow upload speed with example nginx reverse proxy config #17895

Closed
opened 2026-02-05 16:29:18 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/immich-app/immich/pull/24490
Author: @goalie2002
Created: 12/10/2025
Status: Merged
Merged: 12/11/2025
Merged by: @alextran1502

Base: mainHead: fix/slow-upload


📝 Commits (3)

📊 Changes

1 file changed (+3 additions, -0 deletions)

View changed files

📝 docs/docs/administration/reverse-proxy.md (+3 -0)

📄 Description

Description

Increases the client body buffer to 1MiB.

As a side effect of #24351, uploads speed may be limited by a small client body buffer (default is 2 memory pages - usually equals 8KiB or 16KiB depending on platform - https://nginx.org/en/docs/http/ngx_http_core_module.html#client_body_buffer_size). On my setup for example, I went from my normal upload speed of 40MB/s down to 11MB/s due to the change in #24351. Increasing the buffer size returns my upload speed to my normal 40MB/s.

The ideal size probably depends on the hardware setup to some extent, but 1MiB seems like a reasonable value from a little bit of testing.

How Has This Been Tested?

  • Confirm upload speed is back to normal
  • Use the app and web (timeline, asset viewer, video streaming, etc) to confirm nothing is catastrophically broken

Checklist:

  • I have made corresponding changes to the documentation if applicable
  • I have no unrelated changes in the PR.

Please describe to which degree, if any, an LLM was used in creating this pull request.

None


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/immich-app/immich/pull/24490 **Author:** [@goalie2002](https://github.com/goalie2002) **Created:** 12/10/2025 **Status:** ✅ Merged **Merged:** 12/11/2025 **Merged by:** [@alextran1502](https://github.com/alextran1502) **Base:** `main` ← **Head:** `fix/slow-upload` --- ### 📝 Commits (3) - [`ec3f761`](https://github.com/immich-app/immich/commit/ec3f761ebc08704758d01ee801d78cab9ef3bb97) increase buffer size - [`5c731b1`](https://github.com/immich-app/immich/commit/5c731b164c3963b13c1ec85de8ac86f740703c08) increase further - [`395343a`](https://github.com/immich-app/immich/commit/395343ade5633b3bf103ed9e65aa2f6810ae99bd) increase buffer further ### 📊 Changes **1 file changed** (+3 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/docs/administration/reverse-proxy.md` (+3 -0) </details> ### 📄 Description ## Description Increases the client body buffer to 1MiB. As a side effect of #24351, uploads speed may be limited by a small client body buffer (default is 2 memory pages - usually equals 8KiB or 16KiB depending on platform - https://nginx.org/en/docs/http/ngx_http_core_module.html#client_body_buffer_size). On my setup for example, I went from my normal upload speed of 40MB/s down to 11MB/s due to the change in #24351. Increasing the buffer size returns my upload speed to my normal 40MB/s. The ideal size probably depends on the hardware setup to some extent, but 1MiB seems like a reasonable value from a little bit of testing. ## How Has This Been Tested? <!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration --> - [x] Confirm upload speed is back to normal - [x] Use the app and web (timeline, asset viewer, video streaming, etc) to confirm nothing is catastrophically broken ## Checklist: - [x] I have made corresponding changes to the documentation if applicable - [x] I have no unrelated changes in the PR. ## Please describe to which degree, if any, an LLM was used in creating this pull request. None --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 16:29:18 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#17895