docs(admin): correct the antivirus Stream Length default - #15539
Merged
Conversation
The Daemon (Socket) section states 10485760 bytes, ten megabytes. The actual default in files_antivirus is 26214400 (25 MiB), per AV_STREAM_MAX_LENGTH in lib/AppInfo/ConfigLexicon.php. AI-Assisted-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Signed-off-by: Anna Larch <anna@nextcloud.com>
This was referenced Sep 1, 2026
Contributor
📖 Documentation Preview📄 1 changed documentation pageLast updated: Tue, 01 Sep 2026 20:07:13 GMT |
Contributor
Author
|
/backport to stable35 |
Contributor
Author
|
/backport to stable34 |
Contributor
Author
|
/backport to stable33 |
Antreesy
approved these changes
Sep 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
☑️ Resolves
The "Daemon (Socket)" section of the antivirus page gives the wrong default for
Stream Length.It states 10485760 bytes, "ten megabytes". The actual default in
nextcloud/files_antivirusis26214400 (25 MiB), set as
AV_STREAM_MAX_LENGTHinlib/AppInfo/ConfigLexicon.php:So the documented figure is out by a factor of 2.5. It matters because the same paragraph advises
keeping the value below PHP's
memory_limit— an admin sizingmemory_limitagainst the documented10 MiB would under-provision for the real 25 MiB default.
Found while documenting ICAP mode (#15538), which needed the same setting's real value.
🖼️ Screenshots
Text-only change to one sentence; no visual change and no new images.
✅ Checklist
sphinx-lintis cleancodespell— not installed locally, please let CI confirm