Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

[#61633] Redis cache fills up over time

Tizian Rößler6725e8cc2737
diff --git a/docs/installation-and-operations/configuration/README.md b/docs/installation-and-operations/configuration/README.md
index eaee130bc9e..aa2674ebf6b 100644
--- a/docs/installation-and-operations/configuration/README.md
+++ b/docs/installation-and-operations/configuration/README.md
@@ -687,6 +687,12 @@ OPENPROJECT_SECURITY__BADGE__DISPLAYED="false"
### Cache configuration options
+
+> [!NOTE]
+> If you are using Redis as cache, you need to set the policy to one of the variants of allkeys.
+> If you don't do this, the cached data doesn't expire, and you will run out of memory.
+> You can get more information on how to set the Redis policy in the Rails [documentation](https://guides.rubyonrails.org/caching_with_rails.html#activesupport-cache-rediscachestore).
+
* `rails_cache_store`: `memcache` for [memcached](https://www.memcached.org/), `redis` for [Redis cache](https://redis.io/), or `memory_store` (default: `file_store`)
* When using `memcached`, the following configuration option is relevant:
* `cache_memcache_server`: The memcache server host and IP (default: `nil`)