<?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[Why is my home server using so much RAM for cache + buffer?]]></title><description><![CDATA[<p dir="auto">I have noticed that my home server is strangely using lots of swap (~5 GB), despite having only a few lightweight processes running and loads of RAM installed (32 GB).</p>
<p dir="auto">Upon configuring Grafana + Prometheus, I noticed a trend where <code>cache + buffer</code> will progressively increase until swap starts to be used. My system and services combined will use ~8 GB RAM. Upon rebooting, the <code>cache + buffer</code> will start anywhere from 3--10 GB, progressively ramp up to ~25 GB in 1--2h, where swap will start to be needed (~3 GB). See the image attached for reference.</p>
<p dir="auto">My swap filesystem is on an expensive (to me) SSD, and I would like to reduce its wear by as much as possible. I understand that swap can introduce only minimal wear on SSDs depending on its nature and that it can be harmless, but I am still not sure what is causing this behavior (and why) and whether I should worry about it or not. So I figured I should investigate what is happening here.</p>
<p dir="auto">My main question is, <strong>how can I figure out what is causing this behavior? Is it expected?</strong> I am looking for guidance from others who are more experienced than me in the topic.</p>
<p dir="auto"><strong>A little bit about my system:</strong></p>
<p dir="auto">I am running Debian 12 on an NVMe SSD containing the root partition (btrfs) and docker services. I also have two HDDs, one with persistent data (ext4), and the other with backups (ext4). This is majoritarily a single-user machine. I tried using the following kernel parameters, but it hasn't helped:</p>
<pre><code>vm.swappiness=10
vm.vfs_cache_pressure=200
</code></pre>
<p dir="auto">My docker services are:</p>
<ul>
<li>*arr stack</li>
<li>jellyfin</li>
<li>nextcloud</li>
<li>immich</li>
<li>open-webui + ollama</li>
<li>pi-hole</li>
<li>invidious</li>
<li>romm</li>
<li>nginx proxy manager</li>
<li>grafana + prometheus</li>
<li>other minor services that I don't think are doing much (uptime-kuma, stirlingpdf, vaultwarden, etc)</li>
</ul>


<div class="row mt-3"><div class="col-12 mt-3"><img class="img-thumbnail" src="https://lemmy.dbzer0.com/pictrs/image/5d2c3281-7d84-471d-a3aa-754b8b7a8fc7.webp" alt="Link Preview Image" /></div></div>]]></description><link>https://forum.ieu.app/topic/078b45ae-e8a3-45a9-97f5-89cf0a8a9c70/why-is-my-home-server-using-so-much-ram-for-cache-buffer</link><generator>RSS for Node</generator><lastBuildDate>Wed, 21 Oct 2026 21:24:51 GMT</lastBuildDate><atom:link href="https://forum.ieu.app/topic/078b45ae-e8a3-45a9-97f5-89cf0a8a9c70.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 16 Aug 2026 18:59:00 GMT</pubDate><ttl>60</ttl></channel></rss>