<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Why does the Distributed Management Console (DMC) consider cached memory to be used memory? in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-Distributed-Management-Console-DMC-consider-cached/m-p/155873#M1766</link>
    <description>&lt;P&gt;The same case for 7.0.1 Enterprise:&lt;BR /&gt;
Documentation is saying:&lt;BR /&gt;
mem_used = total_phys_ram - (free_mem + buffer_mem + cached_mem)&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.2.0/RESTREF/RESTintrospect#server.2Fstatus.2Fresource-usage.2Fhostwide" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/7.2.0/RESTREF/RESTintrospect#server.2Fstatus.2Fresource-usage.2Fhostwide&lt;/A&gt;&lt;BR /&gt;
But in reality, mem_used is ~106GB,  ~80% of usage. We have 125GB total, 20GB free, 104GB cashed/buffer&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 21:40:53 GMT</pubDate>
    <dc:creator>lacot5</dc:creator>
    <dc:date>2020-09-29T21:40:53Z</dc:date>
    <item>
      <title>Why does the Distributed Management Console (DMC) consider cached memory to be used memory?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-Distributed-Management-Console-DMC-consider-cached/m-p/155870#M1763</link>
      <description>&lt;P&gt;Why does DMC consider cached memory to be used memory?&lt;/P&gt;

&lt;P&gt;In DMC: Resource Usage: Deployment Page&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Resource Usage by Instance
Instance             CPU Usage (%)  Physical Memory Capacity (MB)     Physical Memory Usage (MB)    Physical Memory Usage (%)
index01              1.61            64153                            60597                      94.46
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;From Linux CLI:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$ free -m
              total        used        free      shared  buff/cache   available
Mem:          64153        1678        3691        2668       58783       58876
Swap:             0           0           0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I thought that actual free memory = free + buffers + cached ?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2015 23:23:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-Distributed-Management-Console-DMC-consider-cached/m-p/155870#M1763</guid>
      <dc:creator>masonmorales</dc:creator>
      <dc:date>2015-08-05T23:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the Distributed Management Console (DMC) consider cached memory to be used memory?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-Distributed-Management-Console-DMC-consider-cached/m-p/155871#M1764</link>
      <description>&lt;P&gt;The Distributed Management Console assesses system-wide memory capacity, usage &amp;amp; availability based on the following events recorded by our &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.4/Troubleshooting/Abouttheplatforminstrumentationframework"&gt;platform instrumentation feature&lt;/A&gt; to &lt;CODE&gt;$SPLUNK_HOME/var/log/introspection/resource_usage.log&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;{"datetime":"08-05-2015 10:35:25.099 -0700","log_level":"INFO","component":"Hostwide","data":{"mem":"64390.848","mem_used":"42311.441","swap":"65535.992","swap_used":"1049.684","pg_paged_out":"62742991728","pg_swapped_out":"0","forks":"703426238","runnable_process_count":"2","normalized_load_avg_1min":"0.01","cpu_user_pct":"0.68","cpu_system_pct":"0.59","cpu_idle_pct":"98.73"}}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;As you point out, memory usage is read from the &lt;CODE&gt;mem_used&lt;/CODE&gt; field and as of today it this value does indeed reflect the memory usage of processes &lt;STRONG&gt;and&lt;/STRONG&gt; OS buffers and cache.&lt;/P&gt;

&lt;P&gt;We have recently revisited this decision (internal item reference is SPL-104917) and starting with an upcoming 6.2.x release (looking like 6.2.6, as of today) and our next major release, &lt;CODE&gt;mem_used&lt;/CODE&gt; will &lt;STRONG&gt;only report the memory usage of processes&lt;/STRONG&gt; and will therefore be a better indicator of actual memory pressure observed on your server.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2015 23:54:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-Distributed-Management-Console-DMC-consider-cached/m-p/155871#M1764</guid>
      <dc:creator>hexx</dc:creator>
      <dc:date>2015-08-05T23:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the Distributed Management Console (DMC) consider cached memory to be used memory?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-Distributed-Management-Console-DMC-consider-cached/m-p/155872#M1765</link>
      <description>&lt;P&gt;I encountered the same issue even on 6.6 (tested on 6.6.5 and 6.6.8)&lt;/P&gt;

&lt;P&gt;Last &lt;EM&gt;detailed&lt;/EM&gt; description of &lt;EM&gt;mem_used&lt;/EM&gt; seems to be in 6.4.10:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.10/RESTREF/RESTintrospect#server.2Fstatus.2Fresource-usage.2Fhostwide"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.10/RESTREF/RESTintrospect#server.2Fstatus.2Fresource-usage.2Fhostwide&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Starting from 6.5 only a general description is listed but I think that fix never has been included in splunk (yet).&lt;/P&gt;

&lt;P&gt;.. and as we can see there it is still the buffer included. Would explain the behavior here on 6.6.8.&lt;BR /&gt;
We have 1,5 GB of 64 GB in use - without buffers. As the buffers are used intensively (on Linux at least) the "used" amount is above 50GB - which fires alerts by the DMC.&lt;/P&gt;

&lt;P&gt;Thats really bad practice to monitor the RAM including buffers.. Will that be fixed ever?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2018 13:11:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-Distributed-Management-Console-DMC-consider-cached/m-p/155872#M1765</guid>
      <dc:creator>securediversity</dc:creator>
      <dc:date>2018-07-30T13:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the Distributed Management Console (DMC) consider cached memory to be used memory?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-Distributed-Management-Console-DMC-consider-cached/m-p/155873#M1766</link>
      <description>&lt;P&gt;The same case for 7.0.1 Enterprise:&lt;BR /&gt;
Documentation is saying:&lt;BR /&gt;
mem_used = total_phys_ram - (free_mem + buffer_mem + cached_mem)&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.2.0/RESTREF/RESTintrospect#server.2Fstatus.2Fresource-usage.2Fhostwide" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/7.2.0/RESTREF/RESTintrospect#server.2Fstatus.2Fresource-usage.2Fhostwide&lt;/A&gt;&lt;BR /&gt;
But in reality, mem_used is ~106GB,  ~80% of usage. We have 125GB total, 20GB free, 104GB cashed/buffer&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:40:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-Distributed-Management-Console-DMC-consider-cached/m-p/155873#M1766</guid>
      <dc:creator>lacot5</dc:creator>
      <dc:date>2020-09-29T21:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the Distributed Management Console (DMC) consider cached memory to be used memory?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-Distributed-Management-Console-DMC-consider-cached/m-p/155874#M1767</link>
      <description>&lt;P&gt;Same issue here, even on 7.2.6 now!&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 14:15:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Why-does-the-Distributed-Management-Console-DMC-consider-cached/m-p/155874#M1767</guid>
      <dc:creator>tommoore</dc:creator>
      <dc:date>2019-06-27T14:15:16Z</dc:date>
    </item>
  </channel>
</rss>

