Troubleshooting slow OpenProject performance

How to diagnose a slow self-hosted OpenProject using request timings, worker saturation, cache configuration, PostgreSQL statistics and timeouts, and when to bring in outside help.

On this page

Why OpenProject feels slow and how to find the cause

The fastest route to a cause is to separate application, worker, cache and database problems using request timings in the logs. Users reporting slow pages or timeouts on a self-hosted OpenProject are usually seeing one of four layers under strain, and each one leaves different evidence. OpenProject request logs record a duration, a view time and a database time for each request in the Lograge key_value format, so a slow page can be read as either time spent in the database or time spent elsewhere in the application. Start by pulling the log lines for the slow requests and comparing the three figures before changing any setting. Log locations depend on how OpenProject was installed, so confirm them against your deployment before you collect evidence.

This page covers that diagnosis and the fixes that follow from it: web worker saturation, cache backends such as Memcached or Redis, PostgreSQL statistics after an upgrade, and timeouts in front of the application. Teams need it when slowness appears after a traffic increase, after an OpenProject upgrade, after a PostgreSQL major version change, or when only some pages are affected. Before you tune anything, check the cache store setting, since the documented default is file_store and the other options are memcache, redis or memory_store. Record which release you run, for example by checking the release notes for the version in use, so that any database or configuration change can be matched to the upgrade history. The sections that follow take each layer in turn.

Which symptoms point to which layer

Slowness in OpenProject rarely starts in one place. The same visible symptom can come from web workers, the cache, PostgreSQL, or the network and proxy in front of the application, so the pattern of failure is the first clue. Use the cards below to narrow the search before changing any setting.

All pages slow for everyone

When every page is slow for every user at the same time, the bottleneck is usually shared: web worker capacity, the database server or the host itself. Check whether request durations in the request logs rise across all routes, and whether the Puma or web worker processes are busy during the slow period. Confirm host CPU, memory and disk pressure before changing application settings.

Monitoring and logs

Only some views slow

If a few pages such as large work package lists, Gantt charts or dashboards are slow while others respond normally, the cause is more likely a specific query or a heavy data set in one project than the platform as a whole. Compare the database time and view time fields for those requests in the request log. Ask which projects, filters and work package counts the slow users are opening.

Slowness after an upgrade

Performance that drops after a release or a PostgreSQL major upgrade often points to stale planner statistics or new query plans rather than to capacity. Check whether the database was analyzed after the upgrade, and whether the database time in logs rose on the same queries. Confirm which PostgreSQL major version runs now and whether the upgrade notes for that release were followed.

PostgreSQL 17 migration guide

Cache misses and memory pressure

A cache backend that is missing, full or misconfigured makes the application repeat work it could have reused, so pages slow down even though the database and workers are healthy. Confirm which cache store is configured, whether the cache service is reachable from the application, and whether Redis evicts keys under memory pressure. Look for rising database time on requests that normally hit the cache.

Advanced configuration

Intermittent timeouts

Requests that fail or hang at random, while others finish, often come from a layer between the user and the application, such as a reverse proxy, load balancer or idle connection limit. Compare the timeout values of the proxy with the longest normal request durations in the logs. Check whether errors appear only through one entry point, and whether the application still logs the request when the client gives up.

Slow queries under load

When pages slow down only during busy hours and recover when usage drops, the database may be running out of connections or waiting on locks. Check active connections and whether a connection pooler sits in front of PostgreSQL, since many open connections can queue each other. Confirm the database host has enough memory and I/O for the peak workload, and compare the peak against the sizing guidance for your user count.

PgBouncer

Reading request timings in the OpenProject logs

This sequence shows how to find the duration, view time and database time for each request in OpenProject's Lograge key_value logs, and how to use those numbers to tell slow rendering from slow queries. It ends with a captured window of traffic that the rest of the troubleshooting work can rely on.

  1. Confirm where OpenProject writes its logs

    The administrator confirms where request logs go in their installation before reading anything. On packaged installs the logs are usually read through journalctl for the OpenProject units, on Docker installs through docker logs or the log files mounted from the container, and on Kubernetes through the pod logs. Log locations and unit names depend on how the instance was installed, so confirm them against the monitoring and logging documentation for the version in use and in your own environment. The step is done when the administrator can print the last few request lines from the web process on a test request.

  2. Check the log format and request line fields

    The administrator checks that request lines use the Lograge key_value format, which writes each request as a single line of key and value pairs. The fields to look for are the request path, the HTTP status, the total duration, the view time and the database time. Make a note of the exact key names your version writes, because scripts and filters depend on them. The step is done when one sample line from a page load has all three timing values readable by eye, and the administrator can point to the field that gives total duration.

  3. Pull a sample of slow requests

    Using grep, awk or a log shipper search, the administrator filters request lines whose total duration is above a threshold they choose, such as the level users complain about. They group the results by request path so the same few pages do not hide behind one outlier. The step is done when there is a short list of paths with the slowest examples, each with its timestamp and status code. Keep the threshold in the runbook so later readings use the same definition of slow.

  4. Compare view time and database time

    For each slow path, the administrator compares total duration with view time and database time. A request where view time dominates points toward template rendering, heavy page assembly or a cache that is not being hit. A request where database time dominates points toward slow queries, missing statistics or lock contention, which is where PostgreSQL work starts. Requests where the two add up to much less than total duration suggest time spent elsewhere, such as waiting for a worker or an upstream proxy, and those are better checked against worker saturation next. The step is done when each path is labeled as mostly rendering, mostly database, or unclear.

  5. Identify whether the slowness is consistent or intermittent

    The administrator looks at the timestamps of the slow requests to see whether they cluster at certain hours, follow batch jobs or occur after deployments and upgrades. Consistent slowness across all paths often points to shared resources such as the database, cache or worker capacity. Intermittent slowness on a few paths usually points to specific queries or heavy views. The step is done when the administrator can say whether the problem appears at set times, after changes, or at random, and can link that pattern to a likely cause to test.

  6. Capture a representative window of traffic

    The administrator copies logs for a window that covers normal working hours plus at least one period of reported slowness, then saves them with the instance version, date range and threshold used. A window that only contains quiet periods or only the worst incident will mislead comparisons. Logs should be handled under the organization's retention and personal data rules, since request lines can contain user-identifying information. The step is done when the saved extract can be reopened and re-run with the same filters and gives the same counts.

  7. Record a baseline before changing anything

    Before adjusting cache, worker or database settings, the administrator records the baseline from the captured window: the number of requests above the threshold, the median and high-percentile durations per path, and the split between view and database time. They store this next to the instance version and configuration. The step is done when the baseline is written down and can be compared with a second window taken after each change, so every tuning step can be judged on evidence.

How a slow request moves through the stack

A request starts in the user's browser and passes through the reverse proxy to an OpenProject web worker, which reads or writes the cache store and then queries PostgreSQL. Each hop can add delay, and OpenProject request logs record duration, view and database times per request in the Lograge key_value format. Check the proxy timeout first, then compare the proxy and application timings to find which stage holds the time.

Request path from browser to database, with the stages where delay appears.

Choosing and checking the cache backend

The file_store backend is the default cache store in OpenProject's advanced configuration, so a standard install starts with it unless you change the setting. It writes cached fragments to local disk, which keeps the setup simple because no extra service has to run. The trade-off is that cache entries live on one host's file system, so they do not help a second web node, and disk I/O can become a bottleneck on a busy instance.

  • Fit: single-node installs with one web container or one server and modest concurrency.
  • Check: free space and I/O latency on the volume that holds the cache directory.
  • Check: whether the cache path is on the same disk as attachments or database files, which can compete for I/O.
  • Trade-off: no sharing between nodes, so horizontal scaling gains less from caching.
  • Trade-off: cache survives restarts only if the directory is kept, which affects warm-up time after upgrades.

Before you change anything, confirm the active cache setting in your configuration and measure request timings in the logs so you know whether caching is the bottleneck at all.

How to tell when web workers are saturated

Web worker saturation usually looks like queueing, not overload. Requests wait for a free worker or thread while the host's CPU, memory and PostgreSQL stay below their limits, and the symptom appears only when several people work at once. The clearest first check is the request log. OpenProject writes duration, view and database times for each request in the Lograge key_value format described in the OpenProject monitoring docs. If total duration climbs while view and database times stay modest, the extra time is being spent outside the application's own work, which is where waiting for a free worker shows up. Confirm this by comparing those log lines with timeouts recorded at your reverse proxy during the same peak period.

Next, read the web worker and thread settings your install method uses, and compare them with the number of requests in flight at peak. Each worker can serve only as many requests at once as it has threads, so a small pool with many concurrent sessions will queue even on a lightly loaded host. The exact setting names depend on your packaging and version, so confirm them in the advanced configuration documentation before you change anything. Count concurrent requests from your logs or proxy metrics over a busy hour, not the number of named accounts, because a directory of 300 users may produce far fewer simultaneous requests than a team of 60 that runs reports, imports and board refreshes together.

The sizing guide gives a starting point by user count: 4 cores and 4 GB RAM for up to 200 users, 8 cores and 8 GB for about 500 users, and 16 cores and 16 GB for about 1,500 users, as listed in the OpenProject system requirements. If your instance sits at the top of its tier, or a single host runs a tier above what it was sized for, saturation is a likely cause. Ask your team to record peak concurrent requests for a week, and treat a sustained queue as the trigger for capacity work. The changes themselves, including worker counts, thread settings and replica planning, are covered in the sibling topic on scaling OpenProject web and background workers.

Performance fixes and when each one fits

This table compares six common performance levers for a slow OpenProject instance: cache backend changes, extra web capacity, PostgreSQL statistics refresh, PgBouncer pooling, proxy timeouts and database tuning. Read each row against the evidence in your logs and metrics before changing anything, because several levers only help when a specific bottleneck is present.

LeverWhat it addressesEvidence that points to itTrade-off or risk
Cache backend changeSlow repeated lookups when the cache store is file-based or undersizedRequest logs show high view or database time on pages that repeat the same lookups; the instance still uses the default file storeRedis needs an allkeys eviction policy or memory runs out; a memcache or Redis service adds a component to run and back up
Add web capacityRequests queuing because web workers or threads are all busyRequests wait before processing while CPU and database load stay moderate; worker saturation shows in metrics during peaksMore workers and threads raise memory use and can move the bottleneck to PostgreSQL connections
PostgreSQL statistics refreshPoor query plans after a major upgrade or large data changesSlow queries appeared right after a PostgreSQL major upgrade; database time rose while the application code did not changeRunning ANALYZE VERBOSE adds load while it runs; it does not fix missing extensions or indexes
PgBouncer connection poolingConnection overhead and exhaustion when many app processes share PostgreSQLErrors or waits about database connections under load; many idle connections on the serverAdds a service to configure and monitor; pooling modes must be checked against how the application uses sessions
Proxy timeout adjustmentRequests cut off by the reverse proxy before OpenProject finishesGateway timeout responses on long pages or exports while logs show the request still completingRaising timeouts hides slow requests and can tie up workers longer; fix the slow path where possible
Database tuningMemory, cache and connection settings that limit PostgreSQL throughputDisk or memory pressure, high read I/O or lock waits in PostgreSQL statistics on an otherwise healthy application tierChanges need careful testing against your data volume; confirm settings with your PostgreSQL version and workload before applying

Why PostgreSQL statistics matter after an upgrade

After a PostgreSQL major upgrade, the planner may choose poor query plans until it has fresh statistics, and that can look exactly like a slow OpenProject. The OpenProject documentation for its PostgreSQL 17 migration recommends running ANALYZE VERBOSE after the upgrade so the database regenerates the statistics it uses to build query plans. Whether you need to do this at all depends on how you upgraded. PostgreSQL 18 pg_upgrade retains planner statistics across the major upgrade, so an in-place upgrade to that version may not need the same step. Dump and restore, logical replication and older pg_upgrade runs do not carry statistics the same way, so treat the analyze step as the default for those paths unless your database team confirms otherwise.

Check the version you are running before you plan the work. OpenProject officially supports PostgreSQL 16 or later since OpenProject 16.0.0. According to the PostgreSQL versioning policy, PostgreSQL 14 is supported only until November 12, 2026, PostgreSQL 15 until November 11, 2027, PostgreSQL 16 until November 9, 2028 and PostgreSQL 17 until November 8, 2029. If your instance still runs PostgreSQL 14 or 15, the upgrade decision is partly a support question, and the statistics step becomes part of a larger change rather than a standalone fix. Ask your database team which version is in use, when the next minor and major releases are scheduled, and whether the upgrade will go through pg_upgrade, a dump and restore or logical replication.

Before running ANALYZE VERBOSE in production, confirm the plan with your own database team and test it on a copy of the instance. Record slow request timings from the OpenProject logs before and after the change so you can tell whether the statistics fixed anything. If performance does not recover, the cause is more likely a cache or worker constraint, which the other sections of this page cover. Confirm the exact steps against the upgrade guide for your PostgreSQL version and your OpenProject release, because the recommendation applies to the path described in that guide.

Running a performance investigation step by step

This sequence moves from a measured baseline to a confirmed cause, so each change to an OpenProject instance is tied to evidence and checked against the same user scenarios afterward.

  1. Record a baseline with user-reported scenarios

    Start by writing down the slow actions users describe, such as opening a work package list, loading a Gantt chart, or saving a form. For each one, record the page, the project size, the time of day and how long it takes, using the same account and browser every time. Ask the team leads who report the problem to confirm the steps so that the baseline reflects real workflows rather than an admin's quick test. The step is done when you have a short, repeatable list of scenarios with recorded times that anyone on the team can rerun.

  2. Collect request timings from the logs

    Reproduce each scenario and find the matching requests in the OpenProject request logs. The default format records duration, view time and database time per request, which tells you whether the time goes to rendering or to queries. Note the slowest endpoints and whether database time or view time dominates. The step is done when each slow scenario maps to one or two endpoints with consistent timings, and you know whether the cost sits in the application or the database. Confirm the log format and where logs are written for your install method in the monitoring documentation before you start.

  3. Check web worker saturation

    Compare the request timings with the load on the web workers. If requests queue while workers are busy, the instance needs more capacity or a different thread setting, and adding database tuning will not help. Check the worker count and thread settings for your deployment, and watch whether response times climb during peak use while the database stays relatively quiet. The step is done when you can say whether slowness comes from queued requests waiting for a free worker or from individual requests that are expensive on their own. Capacity changes belong in a separate, retested change.

  4. Verify cache backend and eviction policy

    Confirm which cache store OpenProject uses. The default is file storage, and the documentation lists memcache, Redis and in-memory options. If you use Redis, confirm that the eviction policy is set to allkeys, because without it memory can run out and cache behavior degrades. Check that the cache service is reachable from every application container or host and that its memory is not exhausted. The step is done when you have written down the active cache store, its settings and its memory state, and you have confirmed the eviction policy against the advanced configuration documentation.

  5. Review PostgreSQL statistics and upgrade history

    Check whether the database has recent statistics and whether a major PostgreSQL upgrade happened before the slowdown started. After a major upgrade, the documentation recommends running ANALYZE VERBOSE so the planner rebuilds its statistics, and queries can be slow until that happens. Compare the upgrade date with the first reports of slowness, and review the slowest queries with the timings you collected earlier. The step is done when you know the PostgreSQL version, the date of the last major upgrade, and whether statistics were regenerated after it. Confirm the exact commands for your version in the PostgreSQL 17 migration guide or the release notes for your version.

  6. Apply one change and retest the baseline

    Make a single change based on the evidence, such as regenerating statistics, correcting the cache eviction policy or adjusting worker capacity. Then rerun the same user scenarios from the baseline, using the same account, browser and time window where possible. Compare the new timings with the recorded ones. The step is done when the change either improves the scenario times in a measurable way or is reverted, and the result is written down with the change made. Repeat the cycle for the next suspected cause rather than combining several changes at once, which makes it impossible to tell what helped.

  7. Confirm timeouts and close the investigation

    Once the scenarios are within the range your users accept, check for timeouts in the logs and in the proxy or load balancer in front of OpenProject, since a gateway timeout can look like slowness to users. Record the final configuration, the timings, and the change that fixed each cause so that the next investigation starts from a documented baseline. The step is done when no scenario times out, the findings are written up, and the team agrees on which metrics to watch going forward.

Security and operational considerations while tuning

Performance work touches the parts of an OpenProject instance that carry the most risk: debug and metrics endpoints, request logs, live configuration, shared credentials and the proxy layer. The cards below cover the mistakes that turn a slow-instance investigation into a new security or availability incident, and the checks that prevent them.

Debug and metrics endpoints left open

Investigations often add temporary endpoints, verbose error pages or metrics exporters that reveal internal paths, versions, queue depth and user activity. Once the slowdown is found, these tend to stay reachable on the public interface. Before you start, confirm which endpoints answer on the external proxy, restrict them to your monitoring network, and remove any debug setting you turned on. The monitoring sibling topic covers which endpoints to protect and how.

Monitoring docs

Personal data in request logs

Timing lines help you find slow requests, but the same lines can carry usernames, IP addresses, project names and request paths that identify people or sensitive work. Raising the log level or copying logs into a shared ticket spreads that data further than the investigation needs. Ask who can read the log files during the work, delete temporary copies when the analysis ends, and confirm your retention rule before you share excerpts. The logging sibling topic covers retention decisions in detail.

Production changes without a rollback path

Changing cache store, eviction policy, worker counts or database settings on a live instance can make the slowdown worse or cause data loss in a cache. Record the current values, change one setting at a time, and keep the previous configuration file so you can restore it in minutes. Agree with the business owner when changes are allowed and who approves the restart. Test the change on a copy of the instance first where you can.

Shared cache and database credentials

Teams often point a diagnostic session, a reporting tool or a second instance at the same Redis, Memcached or PostgreSQL account used by production. That shared access makes it hard to tell who changed what and lets a mistake in one place affect the live system. Give diagnostic work its own read-only database role where possible, avoid reusing the application password, and rotate any credential that was pasted into a chat or ticket during the investigation.

Proxy timeouts that hide faults

Raising timeouts in the reverse proxy or load balancer makes error pages disappear, but the slow requests keep consuming web workers and database connections in the background. The user sees fewer failures while the underlying cause remains. Before you change a timeout, note the current value, find the requests that exceed the old limit, and fix the cause. Restore the original value once the root cause is addressed, and document the change so it is not left in place.

Questions teams ask before fixing a slow OpenProject

What drives the cost of a performance investigation?

The cost depends mostly on how many layers have to be examined: the OpenProject application and its request logs, the web and background worker configuration, the cache backend, the PostgreSQL server and the network path in front of it. A single-node install with clear logs is usually quicker to diagnose than a multi-node cluster with a reverse proxy, external database and several cache layers. Cost also rises when the slowness is intermittent, because reproducing the pattern takes longer. Ask any provider for a written scope that lists which layers are in and out, the number of environments covered and the deliverable, such as a findings report with prioritized fixes. Costs are one-time for the investigation, while any follow-up tuning or ongoing monitoring recurs.

How long does it take to find why OpenProject is slow?

The duration is set by how quickly the team can get representative data and reproduce the slow pages. Request timings with duration, view and database times per request are the fastest starting point, because they show whether time goes to application code or to queries. Once that split is known, checks on worker saturation, cache configuration and PostgreSQL statistics follow in order. Upgrades often add a step, since statistics may need regenerating after a major PostgreSQL change. Ask for an estimate that depends on access to logs and a test window rather than a fixed promise, and confirm the start date with the internal team before scheduling.

What does the internal team need to provide for the work?

An investigation needs a few things from your side. Read access to OpenProject application logs and the reverse proxy logs is the first requirement, since request timings are the main evidence. Database access, ideally read-only with a role that can view statistics views, lets the reviewer check query plans and table statistics. A test window matters if the team needs to change worker counts, cache settings or run ANALYZE, because those steps can affect users. Also provide the deployment method, OpenProject version, PostgreSQL version and a rough user count so the reviewer can compare against the sizing guidance. Confirm these access rules and any change-control steps in writing before work starts.

Can we troubleshoot slow OpenProject performance ourselves?

Yes, many teams can do the first pass themselves if they have someone comfortable with Linux, Docker or systemd, and PostgreSQL basics. Start by enabling and reading request logs, checking whether the web workers are saturated, confirming the cache store in the configuration, and reviewing PostgreSQL statistics after any upgrade. The official monitoring and advanced configuration documentation explains each setting. The harder cases are intermittent slowness, multi-node setups, and changes to database or cache settings that affect production. Those are where an outside reviewer with prior experience often saves time, because they can compare findings against a known set of likely causes.

When is a partner worth the cost for OpenProject performance work?

A partner is usually worth considering when the slowness affects business work, the cause is unclear after an initial review, or the instance runs on infrastructure where a wrong change is costly. Typical triggers include slowness that started after a major upgrade, repeated timeouts under peak use, Redis or Memcached memory problems, and PostgreSQL behavior that differs between environments. A partner can also help when the team lacks time to run controlled tests. Compare the quote with the cost of continued disruption and of internal engineering time, and ask for a fixed scope with deliverables and a retest step before work begins.

Which cache and database settings should we check first?

Check the cache store first, because the OpenProject configuration defaults to file_store and can be set to memcache, redis or memory_store. If Redis is used, confirm that it has an allkeys eviction policy, since without it memory can run out. Next, review PostgreSQL after any major version change: the documentation recommends running ANALYZE VERBOSE to regenerate query plans. Keep the PostgreSQL version within the supported range, because older releases lose security updates and may behave differently. Record each setting before changing it so the effect can be measured and rolled back.

Does a performance investigation touch personal data or security controls?

It can. Request logs and database statistics may contain user identifiers, IP addresses or project names, so the reviewer should work under the organization's data protection rules and access controls. Confirm where logs are stored, who can read them, how long they are retained, and whether exported samples need redaction. Also confirm that any database or cache credentials used during the work are temporary, scoped, and removed afterward. Put these expectations in the written scope so both sides know what data will be handled and where it may be stored.

How DeployOpen scopes and supports OpenProject performance work

DeployOpen treats a slow OpenProject as a measurable problem: we start from request timings, worker and cache behavior, and database statistics inside your own infrastructure. The work is agreed in a written, fixed scope, then delivered and handed over with the evidence and runbooks your team needs to keep the instance responsive.

How we scope

  • Written scope names the instances, user counts, hosting method and symptoms being investigated before work starts.
  • We confirm which logs, metrics and access your team can provide, including request logs and worker configuration.
  • Scope states whether the work covers diagnosis only, fixes, or fixes followed by a retest of the same workload.

How we build

  • We review request durations, view and database times from the key-value request logs to locate the slow path.
  • We check web worker saturation, cache backend settings and PostgreSQL statistics, changing one variable at a time and recording the result.
  • Configuration changes are made in your environment and tested against the reproduced slowdown before they are accepted.

How we hand over

  • Deliverables include a written findings report, the configuration changes made, and the before and after measurements.
  • We document the monitoring checks and log queries your team should run to spot a regression early.
  • Handover includes a walkthrough so your operators can repeat the diagnosis without DeployOpen on site.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer, including planned PostgreSQL and OpenProject upgrades.
  • After a major upgrade we can re-check query plans and statistics, following the steps in the vendor's migration guide.
  • Confirm with us in the quote which support hours, response expectations and review cycles apply to your retainer.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.