meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:sw:openproject:performance [2025/08/05 12:00] – niziaklinux:sw:openproject:performance [2026/10/23 12:17] (current) – niziak
Line 1: Line 1:
 ====== performance ====== ====== performance ======
 +
 +===== memcached =====
 +
 +Tune cache size in ''/etc/memcached.conf'' to get zero ''evictions'' (wait few days from memcached restart):
 +
 +<code bash>
 +echo stats | nc -q1 127.0.0.1 11211 | grep -E "limit_maxbytes|evictions"
 +</code>
 +
 +
 +===== jemalloc =====
 +
 +<code bash>
 +apt install libjemalloc2
 +mkdir /etc/systemd/system/openproject-web-1.service.d
 +mkdir /etc/systemd/system/openproject-worker-1.service.d
 +
 +cat - >/etc/systemd/system/openproject-worker-1.service.d/jemalloc.conf <<END
 +[Service]
 +Environment=LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.2
 +END
 +
 +cp /etc/systemd/system/openproject-worker-1.service.d/jemalloc.conf /etc/systemd/system/openproject-web-1.service.d/jemalloc.conf
 +
 +systemctl stop openproject
 +systemctl daemon-reload
 +systemctl start openproject
 +
 +</code>
  
 ===== pgsql vacuum ===== ===== pgsql vacuum =====