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:39] – niziak | linux:sw:openproject:performance [2025/09/09 19:02] (current) – niziak | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== performance ====== | ====== performance ====== | ||
| + | |||
| + | ===== jemalloc ===== | ||
| + | |||
| + | <code bash> | ||
| + | apt install libjemalloc2 | ||
| + | mkdir / | ||
| + | mkdir / | ||
| + | |||
| + | cat - / | ||
| + | [Service] | ||
| + | Environment=LD_PRELOAD=/ | ||
| + | END | ||
| + | |||
| + | cp / | ||
| + | |||
| + | systemctl stop openproject | ||
| + | systemctl daemon-reload | ||
| + | systemctl start openproject | ||
| + | |||
| + | </ | ||
| ===== pgsql vacuum ===== | ===== pgsql vacuum ===== | ||
| Line 22: | Line 42: | ||
| </ | </ | ||
| + | [[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 43: | Line 67: | ||
| #export RAILS_MAX_THREADS=" | #export RAILS_MAX_THREADS=" | ||
| </ | </ | ||
| + | |||
| + | <code bash> | ||
| + | openproject configure | ||
| + | # or | ||
| + | openproject restart web | ||
| + | </ | ||
| ===== diagnose ===== | ===== diagnose ===== | ||