szabodanika / microbin

A secure, configurable file-sharing and URL shortening web app written in Rust.
https://microbin.eu
BSD 3-Clause "New" or "Revised" License
2.71k stars 172 forks source link

Problems with large files in docker #262

Open Obus20 opened 7 months ago

Obus20 commented 7 months ago

Describe the bug We have some issues when the files are very large with the download. When we try to download the file then the service simply restarts.

To Reproduce Steps to reproduce the behavior:

  1. Upload a file bigger then 10GB
  2. Try to dowload it

Expected behavior The download works.

Logs

2024-04-15T12:56:08 [INFO] - 1.1.1.1 "GET /static/highlight/highlight.min.js HTTP/1.1" 200 191368 "http://microbin/upload/bear-swan-monkey" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0" 0.003437
2024-04-15T12:56:08 [INFO] - 1.1.1.1 "GET /static/highlight/highlight.min.css HTTP/1.1" 200 1304 "http://microbin/upload/bear-swan-monkey" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0" 0.000330
2024-04-15T12:56:19 [INFO] - MicroBin starting on http://0.0.0.0:8080
2024-04-15T12:56:19 [INFO] - Starting 4 workers
2024-04-15T12:56:19 [INFO] - Actix runtime found; starting in Actix runtime
2024-04-15T12:57:37 [INFO] - MicroBin starting on http://0.0.0.0:8080
2024-04-15T12:57:37 [INFO] - Starting 4 workers
2024-04-15T12:57:37 [INFO] - Actix runtime found; starting in Actix runtime

Desktop (please complete the following information):

Thank you.