uwsgi: default to 4 processes x 4 threads#13080
Merged
valentijnscholten merged 1 commit intoDefectDojo:bugfixfrom Sep 4, 2025
Merged
uwsgi: default to 4 processes x 4 threads#13080valentijnscholten merged 1 commit intoDefectDojo:bugfixfrom
valentijnscholten merged 1 commit intoDefectDojo:bugfixfrom
Conversation
Maffooch
approved these changes
Sep 3, 2025
dogboat
approved these changes
Sep 4, 2025
blakeaowens
approved these changes
Sep 4, 2025
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.
The default of having only 2 processes with 2 threads each can easily lead to very poor performance, see #12872, #12950
There's documentation on this on how to tune a production instance, but this limit can already be quite a limitation in non-production use or doing a PoC install. The CPU usage, memory usage, IOPS is sometimes still low with only 4 threads which makes it not immediately clear why the performance is low or requests are timing out.
This PR raised the defaults to 4 processed with 4 threads each. It also moves the performance related docs page closer to the installation & configuration section.