<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Bug: WordPress object-cache redis writes a full RDB dump every five minutes, which turned out to be my biggest disk I/O contributor]]></title><description><![CDATA[<p dir="auto">Following up on my old topic about high disk I/O (<a href="https://forum.cloudron.io/topic/14639/cloudron-v9-huge-disk-i-o-is-this-normal-safe-needed">14639</a>, which <a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> split into <a href="https://forum.cloudron.io/topic/15206/">15206</a>, <a href="https://forum.cloudron.io/topic/15207/">15207</a> and <a href="https://forum.cloudron.io/topic/15211/">15211</a>) : there is one more contributor, and on one of my servers it is bigger than everything we found back then.</p>
<p dir="auto">Measured over a quiet hour on a server with 14 WordPress apps: 13.8 GB written in 60 minutes, of which mysql accounts for 4.1 GB and the per-app redis containers for 5.1 GB together. The object caches write more than the database does.</p>
<p dir="auto">It comes from the default save policy. An app's redis runs with <code>save 900 1 300 10 60 10000</code>, and a WordPress object cache always changes more than 10 keys within 300 seconds, so it dumps its entire dataset every five minutes. One site here has 323k keys and a 63 MB dump.rdb, which is 12 x 63 MB = 756 MB/hour predicted against 743 MB/hour measured.</p>
<p dir="auto">I set <code>CONFIG SET save ""</code> on one of them and left a comparable site untouched as a control. Over ten minutes the first wrote 0.0 MB and the control 125.4 MB. Nothing was lost: same key count, same memory use, site fine. The dataset lives in memory either way, the dump is only a copy on disk.</p>
<p dir="auto">To be clear, this isn't an argument for turning redis off on WordPress. Those caches are doing real work: across 22 WordPress sites here they serve about 4.7 million object lookups a day, with hit rates between 45% and 99%. It is the persistence that looks pointless for a cache, and a backup doesn't seem to depend on it either, since the box asks the redis service for a fresh dump at backup time rather than picking up the periodically written file.</p>
<p dir="auto">Would it make sense to turn off RDB persistence for app redis instances, or to make the save policy configurable per app?</p>
]]></description><link>https://forum.cloudron.io/topic/15801/bug-wordpress-object-cache-redis-writes-a-full-rdb-dump-every-five-minutes-which-turned-out-to-be-my-biggest-disk-i-o-contributor</link><generator>RSS for Node</generator><lastBuildDate>Sun, 23 Aug 2026 03:50:10 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/15801.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 06 Aug 2026 17:06:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Bug: WordPress object-cache redis writes a full RDB dump every five minutes, which turned out to be my biggest disk I/O contributor on Fri, 07 Aug 2026 13:17:24 GMT]]></title><description><![CDATA[<p dir="auto">The Cloudron 10 update will reconfigure all the redis and the apps that have that field with get redis configured appropriately. In essence, it will get fixed automatically and doesn't require user intervention.</p>
]]></description><link>https://forum.cloudron.io/post/127894</link><guid isPermaLink="true">https://forum.cloudron.io/post/127894</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 07 Aug 2026 13:17:24 GMT</pubDate></item><item><title><![CDATA[Reply to Bug: WordPress object-cache redis writes a full RDB dump every five minutes, which turned out to be my biggest disk I/O contributor on Fri, 07 Aug 2026 11:23:55 GMT]]></title><description><![CDATA[<p dir="auto">Thanks, that was fast.</p>
<p dir="auto">One thing I couldn't tell: do the app packages have to opt into this, and if so, do existing installs pick it up on an app update — or does it only apply to new installs?</p>
]]></description><link>https://forum.cloudron.io/post/127887</link><guid isPermaLink="true">https://forum.cloudron.io/post/127887</guid><dc:creator><![CDATA[imc67]]></dc:creator><pubDate>Fri, 07 Aug 2026 11:23:55 GMT</pubDate></item><item><title><![CDATA[Reply to Bug: WordPress object-cache redis writes a full RDB dump every five minutes, which turned out to be my biggest disk I/O contributor on Fri, 07 Aug 2026 10:38:22 GMT]]></title><description><![CDATA[<p dir="auto">With some help from AI , I found many apps use redis only in caching mode. I guess we can disable persistence for these apps entirely. The backup logic anyway dumps the redis database when needed. So, worst case, the cache is totally invalidated. it's fine I guess.</p>
<pre><code>wordpress-developer-app Object cache plugin (WP_REDIS_* / object-cache.php)
nextcloud-app memcache.locking only (APCu for local cache)
grafana-app [remote_cache] type = redis
directus-app CACHE_STORE + RATE_LIMITER_STORE
castopod-app cache.handler="redis" only
apache-answer-app Redis cache plugin
docker-registry-app Optional blobdescriptor cache
umami-app Optional cache
kutt-app Cache / rate-limit
openwebui-app Websocket pub/sub only
</code></pre>
<p dir="auto">I will add the persistent flag to redis.</p>
]]></description><link>https://forum.cloudron.io/post/127882</link><guid isPermaLink="true">https://forum.cloudron.io/post/127882</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 07 Aug 2026 10:38:22 GMT</pubDate></item></channel></rss>