meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:sw:openproject:performance [2025/05/05 08:35] – niziak | linux:sw:openproject:performance [2025/08/05 12:00] (current) – niziak | ||
---|---|---|---|
Line 10: | Line 10: | ||
- | ===== Headline | + | ===== Default options |
Line 22: | Line 22: | ||
</ | </ | ||
+ | [[https:// | ||
+ | |||
+ | Mind, even just for 5 users we do recommend 2 web workers as each page may require multiple requests to be made simultaneously. Having just one will work, but pages may take longer to finish loading. | ||
+ | | ||
[[https:// | [[https:// | ||
Line 31: | Line 35: | ||
</ | </ | ||
- | Settings this by enb also works: | + | ===== Minimize memory ===== |
- | < | + | |
- | RAILS_MIN_THREADS=" | + | Run Puma in single-mode (workers = 0) in order to reduce memory overhead. |
- | RAILS_MAX_THREADS=" | + | |
+ | <file bash / | ||
+ | export OPENPROJECT_WEB_WORKERS=" | ||
+ | export OPENPROJECT_WEB_MIN__THREADS=" | ||
+ | export OPENPROJECT_WEB_MAX__THREADS=" | ||
+ | # Settings this by env also works: | ||
+ | # | ||
+ | # | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | openproject configure | ||
+ | # or | ||
+ | openproject restart web | ||
</ | </ | ||