Skip to content

Improve error message for files that exceed 5 GiB#380

Merged
don-vip merged 1 commit into
masterfrom
fix/large-file-error
May 15, 2026
Merged

Improve error message for files that exceed 5 GiB#380
don-vip merged 1 commit into
masterfrom
fix/large-file-error

Conversation

@Amdrel
Copy link
Copy Markdown
Collaborator

@Amdrel Amdrel commented May 15, 2026

Description

Commons doesn't allow files over 5 GiB to be uploaded, and to enforce this we have used ulimit -f to restrict the size of output files to 5 GiB so that no attempt is made to upload files that exceed the cap. However, the default error message for exceeding this limit (Exitcode: 153) is very confusing to users and doesn't tell them what they need to do in order to solve the error. This patch improves the error message for these kinds of errors.

Changes

  • Add a new less confusing error message pattern for Exitcode: 153 errors.
  • Elaborate why background_size_limit is set to its current value via a comment.

Screenshot

Screenshot 2026-05-15 at 11 34 12 AM

@Amdrel Amdrel requested a review from don-vip May 15, 2026 18:42
@don-vip don-vip merged commit 84e25c5 into master May 15, 2026
6 checks passed
@don-vip
Copy link
Copy Markdown
Collaborator

don-vip commented May 15, 2026

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants