<?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/2a59ec21-c648-4200-9829-bafc38c8f40e/why-is-my-home-server-using-so-much-ram-for-cache-buffer</link><generator>RSS for Node</generator><lastBuildDate>Sun, 06 Sep 2026 08:03:50 GMT</lastBuildDate><atom:link href="https://forum.ieu.app/topic/2a59ec21-c648-4200-9829-bafc38c8f40e.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 16 Aug 2026 18:59:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Why is my home server using so much RAM for cache + buffer? on Sun, 16 Aug 2026 21:57:45 GMT]]></title><description><![CDATA[<p dir="auto">It has been a while since I looked but Ollama use to be llama.CCP with a cloud wrapper before they forked it and rewrote it.  In the same way postman is curl with a cloud wrapper.</p>
<p dir="auto">Tossing the extra bit will make it use less resources and support the actual project not someone forking oss, slapping on a paint job, rewriting a core function and still calling it oss.</p>
]]></description><link>https://forum.ieu.app/post/https://lemmy.world/comment/25332249</link><guid isPermaLink="true">https://forum.ieu.app/post/https://lemmy.world/comment/25332249</guid><dc:creator><![CDATA[slazer2au@lemmy.world]]></dc:creator><pubDate>Sun, 16 Aug 2026 21:57:45 GMT</pubDate></item><item><title><![CDATA[Reply to Why is my home server using so much RAM for cache + buffer? on Sun, 16 Aug 2026 21:49:50 GMT]]></title><description><![CDATA[<p dir="auto">Can you talk more about this? What are you basing this on?</p>
]]></description><link>https://forum.ieu.app/post/https://fedia.io/m/selfhosted@lemmy.world/t/4263944/-/comment/16007797</link><guid isPermaLink="true">https://forum.ieu.app/post/https://fedia.io/m/selfhosted@lemmy.world/t/4263944/-/comment/16007797</guid><dc:creator><![CDATA[andyburke@fedia.io]]></dc:creator><pubDate>Sun, 16 Aug 2026 21:49:50 GMT</pubDate></item><item><title><![CDATA[Reply to Why is my home server using so much RAM for cache + buffer? on Sun, 16 Aug 2026 20:50:10 GMT]]></title><description><![CDATA[<p dir="auto">As a suggestion, ditch ollama and setup llama.cpp. it will work fine with openwebui and it's much more efficient. (Unrelated to the ram/swap issue)</p>
]]></description><link>https://forum.ieu.app/post/https://downonthestreet.eu/comment/1078883</link><guid isPermaLink="true">https://forum.ieu.app/post/https://downonthestreet.eu/comment/1078883</guid><dc:creator><![CDATA[shimitar@downonthestreet.eu]]></dc:creator><pubDate>Sun, 16 Aug 2026 20:50:10 GMT</pubDate></item></channel></rss>