Skip to content

Corrected requestLengthDiskThreshold to use MS default of 80#6819

Merged
valadas merged 1 commit intodnnsoftware:developfrom
david-poindexter:requestLengthDiskThreshold-reset
Nov 28, 2025
Merged

Corrected requestLengthDiskThreshold to use MS default of 80#6819
valadas merged 1 commit intodnnsoftware:developfrom
david-poindexter:requestLengthDiskThreshold-reset

Conversation

@david-poindexter
Copy link
Copy Markdown
Contributor

Summary

Resolves #6816

As mentioned in the above issue comments, the MS documentation is wrong. A PR has been submitted by @mitchelsellers to correct the MS documentation. This PR changes the requestLengthDiskThreshold value back to 80 (which means 80KB). The way it was prior, nothing would ever get written to disk (no chunking) because the value was actually 80MB due to the incorrect documented unit for this attribute. Instead uploads would be held in memory until the full upload is complete and then written to disk at the end. This change will allow 80KB chunks to be written to disk during the uploads (freeing up memory).

Our suspicion is this has caused quite a few issues lately with module installations close to 28MB (e.g., 24MB) running out of memory and preventing installation. Also, upgrades in Azure seem to be experiencing similar issues.

Copy link
Copy Markdown
Contributor

@valadas valadas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, I'll tag this as noteworthy to potentially add some notes about it in release notes

Copy link
Copy Markdown
Contributor

@mitchelsellers mitchelsellers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me!

@david-poindexter
Copy link
Copy Markdown
Contributor Author

david-poindexter commented Nov 28, 2025

On a fresh install of this build, the desired behavior seems to check out.

image image

@david-poindexter
Copy link
Copy Markdown
Contributor Author

Because of the build resulting in 10.01.03, the 10.02.00.confg will not perform the XML merge upon upgrade. So, we tested performing the XML merge manually via the UI. It worked like a charm. So, I am good with this if you all are.

@valadas valadas merged commit 9892be0 into dnnsoftware:develop Nov 28, 2025
3 checks passed
@david-poindexter david-poindexter deleted the requestLengthDiskThreshold-reset branch November 28, 2025 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: requestLengthDiskThreshold is incorrectly configured.

3 participants