<?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[Memory reporting incorrect values]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Could anyone please help me understand wich value I should go by when looking at CPU resources?<br />
<strong>XOA:</strong></p>
<p dir="auto"><img src="/forum/assets/uploads/files/1734620866096-4b4e384e-1d6f-4d64-b2ea-0ad4ff0a374f-image.png" alt="4b4e384e-1d6f-4d64-b2ea-0ad4ff0a374f-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><strong>XO Lite:</strong></p>
<p dir="auto"><img src="/forum/assets/uploads/files/1734620906207-13af5bff-5af1-4988-bba8-5560247b6b14-image.png" alt="13af5bff-5af1-4988-bba8-5560247b6b14-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><strong>Server htop</strong></p>
<p dir="auto"><img src="/forum/assets/uploads/files/1734620936501-6380f579-c501-4830-bbcb-aae0fbade4c7-image.png" alt="6380f579-c501-4830-bbcb-aae0fbade4c7-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">According to Xen Orchestra, I am using almost all of my 8GB RAM where as in htop, I am only using 1.74G.</p>
<p dir="auto">Which one should I trust?</p>
<p dir="auto">Thank you</p>
]]></description><link>https://xcp-ng.org/forum/topic/10143/memory-reporting-incorrect-values</link><generator>RSS for Node</generator><lastBuildDate>Mon, 08 Jun 2026 05:47:30 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/10143.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 19 Dec 2024 15:10:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Memory reporting incorrect values on Mon, 06 Jan 2025 18:41:19 GMT]]></title><description><![CDATA[<p dir="auto">Great news <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=977a46e9d9a" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://xcp-ng.org/forum/post/87754</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/87754</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Mon, 06 Jan 2025 18:41:19 GMT</pubDate></item><item><title><![CDATA[Reply to Memory reporting incorrect values on Mon, 06 Jan 2025 16:36:07 GMT]]></title><description><![CDATA[<p dir="auto">Its seem to be reporting correctly now. Thank you all for your help.<br />
<img src="/forum/assets/uploads/files/1736181342137-a99c1f9b-5741-4d59-aa54-35a3e8dce75f-image.png" alt="a99c1f9b-5741-4d59-aa54-35a3e8dce75f-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/forum/assets/uploads/files/1736181359238-85e83354-5e14-4771-a499-a251ee00ae9e-image.png" alt="85e83354-5e14-4771-a499-a251ee00ae9e-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://xcp-ng.org/forum/post/87741</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/87741</guid><dc:creator><![CDATA[fred974]]></dc:creator><pubDate>Mon, 06 Jan 2025 16:36:07 GMT</pubDate></item><item><title><![CDATA[Reply to Memory reporting incorrect values on Mon, 06 Jan 2025 16:33:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/fred974" aria-label="Profile: fred974">@<bdi>fred974</bdi></a> said in <a href="/forum/post/87739">Memory reporting incorrect values</a>:</p>
<blockquote>
<p dir="auto">xenstore-utils</p>
</blockquote>
<p dir="auto"><code>apt remove xenstore-utils</code> fix the installation issue.</p>
]]></description><link>https://xcp-ng.org/forum/post/87740</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/87740</guid><dc:creator><![CDATA[fred974]]></dc:creator><pubDate>Mon, 06 Jan 2025 16:33:26 GMT</pubDate></item><item><title><![CDATA[Reply to Memory reporting incorrect values on Mon, 06 Jan 2025 16:25:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/yann" aria-label="Profile: yann">@<bdi>yann</bdi></a> I removed the tools using <code>apt remove xe-guest-utilities</code> and tried to install from the cd and had the same error<br />
<code>apt remove xe-guest-utilities</code></p>
<pre><code>Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  dbconfig-common dbconfig-mysql icc-profiles-free libaprutil1-dbd-sqlite3 libaprutil1-ldap libjs-bootstrap4 libjs-codemirror libjs-jquery-mousewheel libjs-jquery-timepicker libjs-jquery-ui libjs-popper.js libjs-sizzle liblua5.3-0 libmcrypt4 node-jquery php-common php-google-recaptcha php-mariadb-mysql-kbs
  php-nikic-fast-route php-phpmyadmin-motranslator php-phpmyadmin-shapefile php-phpseclib php-psr-cache php-psr-container php-psr-log php-symfony-cache php-symfony-cache-contracts php-symfony-dependency-injection php-symfony-deprecation-contracts php-symfony-expression-language php-symfony-polyfill-php80
  php-symfony-polyfill-php81 php-symfony-service-contracts php-symfony-var-exporter php-tcpdf ssl-cert
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  xe-guest-utilities
0 upgraded, 0 newly installed, 1 to remove and 16 not upgraded.
After this operation, 1889 kB disk space will be freed.
N: Ignoring file 'mariadb.list.old_1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
Do you want to continue? [Y/n] y
(Reading database ... 136958 files and directories currently installed.)
Removing xe-guest-utilities (7.20.2-0ubuntu1~22.04.2) ...
needrestart is being skipped since dpkg has failed
root@WEB1-OLS-QHUK:/home/fetheve/Linux# apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  dbconfig-common dbconfig-mysql icc-profiles-free libaprutil1-dbd-sqlite3 libaprutil1-ldap libjs-bootstrap4 libjs-codemirror libjs-jquery-mousewheel libjs-jquery-timepicker libjs-jquery-ui libjs-popper.js libjs-sizzle liblua5.3-0 libmcrypt4 node-jquery php-common php-google-recaptcha php-mariadb-mysql-kbs
  php-nikic-fast-route php-phpmyadmin-motranslator php-phpmyadmin-shapefile php-phpseclib php-psr-cache php-psr-container php-psr-log php-symfony-cache php-symfony-cache-contracts php-symfony-dependency-injection php-symfony-deprecation-contracts php-symfony-expression-language php-symfony-polyfill-php80
  php-symfony-polyfill-php81 php-symfony-service-contracts php-symfony-var-exporter php-tcpdf ssl-cert
0 upgraded, 0 newly installed, 36 to remove and 15 not upgraded.
After this operation, 42.0 MB disk space will be freed.
N: Ignoring file 'mariadb.list.old_1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
Do you want to continue? [Y/n] y
(Reading database ... 136950 files and directories currently installed.)
Removing dbconfig-mysql (2.0.21) ...
Removing dbconfig-common (2.0.21) ...
Removing php-tcpdf (6.4.4+dfsg1-1) ...
Removing icc-profiles-free (2.0.1+dfsg-1.1) ...
Removing libaprutil1-dbd-sqlite3:amd64 (1.6.1-5ubuntu4.22.04.2) ...
Removing libaprutil1-ldap:amd64 (1.6.1-5ubuntu4.22.04.2) ...
Removing libjs-bootstrap4 (4.6.0+dfsg1-4) ...
Removing libjs-codemirror (5.65.0+~cs5.83.9-1) ...
Removing libjs-jquery-mousewheel (1:3.1.13-5) ...
Removing libjs-jquery-timepicker (1.6.3-1) ...
Removing libjs-jquery-ui (1.13.1+dfsg-1) ...
Removing libjs-popper.js (1.16.1+ds-5) ...
Removing libjs-sizzle (2.3.6+ds+~2.3.3-1) ...
Removing liblua5.3-0:amd64 (5.3.6-1build1) ...
Removing libmcrypt4 (2.5.8-7) ...
Removing node-jquery (3.6.0+dfsg+~3.5.13-1) ...
Removing php-phpmyadmin-motranslator (5.2.0-1build1) ...
Removing php-symfony-expression-language (5.4.4+dfsg-1ubuntu8) ...
Removing php-symfony-cache (5.4.4+dfsg-1ubuntu8) ...
Removing php-symfony-var-exporter (5.4.4+dfsg-1ubuntu8) ...
Removing php-symfony-dependency-injection (5.4.4+dfsg-1ubuntu8) ...
Removing php-symfony-service-contracts (2.4.0-1ubuntu2) ...
Removing php-google-recaptcha (1.2.4-3) ...
Removing php-mariadb-mysql-kbs (1.2.12-1) ...
Removing php-nikic-fast-route (1.3.0-3) ...
Removing php-phpmyadmin-shapefile (2.1-5) ...
Removing php-phpseclib (2.0.36-1) ...
Removing php-symfony-cache-contracts (2.4.0-1ubuntu2) ...
Removing php-psr-cache (3.0.0-1) ...
Removing php-psr-container (2.0.2-1) ...
Removing php-psr-log (3.0.0-1) ...
Removing php-symfony-deprecation-contracts (2.4.0-1ubuntu2) ...
Removing php-symfony-polyfill-php80 (1.24.0-1ubuntu2) ...
Removing php-symfony-polyfill-php81 (1.24.0-1ubuntu2) ...
Removing ssl-cert (1.1.2) ...
Removing php-common (2:92ubuntu1) ...
Warning: Stopping phpsessionclean.service, but it can still be activated by:
  phpsessionclean.timer
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.8) ...
Scanning processes...                                                                                                                                                                                                                                                                                                       
Scanning linux images...                                                                                                                                                                                                                                                                                                    

Running kernel seems to be up-to-date.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
</code></pre>
<p dir="auto"><code>bash /mnt/Linux/install.sh</code></p>
<pre><code>Detected `Ubuntu 22.04.5 LTS' (ubuntu version 22).

The following changes will be made to this Virtual Machine:
  * update arp_notify sysctl.
  * packages to be installed/upgraded:
    - xe-guest-utilities_7.30.0-12_amd64.deb

Continue? [y/n] y

Selecting previously unselected package xe-guest-utilities.
(Reading database ... 134088 files and directories currently installed.)
Preparing to unpack .../xe-guest-utilities_7.30.0-12_amd64.deb ...
Unpacking xe-guest-utilities (7.30.0-12) ...
dpkg: error processing archive /mnt/Linux/xe-guest-utilities_7.30.0-12_amd64.deb (--install):
 trying to overwrite '/usr/bin/xenstore', which is also in package xenstore-utils 4.16.0-1~ubuntu2.1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /mnt/Linux/xe-guest-utilities_7.30.0-12_amd64.deb
</code></pre>
<p dir="auto">How can I fix this?</p>
]]></description><link>https://xcp-ng.org/forum/post/87739</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/87739</guid><dc:creator><![CDATA[fred974]]></dc:creator><pubDate>Mon, 06 Jan 2025 16:25:21 GMT</pubDate></item><item><title><![CDATA[Reply to Memory reporting incorrect values on Mon, 06 Jan 2025 16:15:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/fred974" aria-label="Profile: fred974">@<bdi>fred974</bdi></a> there is an undeclared conflict between the <code>xe-guest-utilities</code> in the ISO and <code>xenstore-utils</code>, you can install the former after removing the latter (but yes, it is a problem, the Go implementation of <code>xenstore</code> tools should not be in this package).</p>
]]></description><link>https://xcp-ng.org/forum/post/87738</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/87738</guid><dc:creator><![CDATA[yann]]></dc:creator><pubDate>Mon, 06 Jan 2025 16:15:16 GMT</pubDate></item><item><title><![CDATA[Reply to Memory reporting incorrect values on Mon, 06 Jan 2025 15:35:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/yann" aria-label="Profile: yann">@<bdi>yann</bdi></a> said in <a href="/forum/post/87718">Memory reporting incorrect values</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/fred974" aria-label="Profile: fred974">@<bdi>fred974</bdi></a> v6.80.6 is definitely very old, and did report MemFree, we ship v7.30 with XCP-ng 8.2. You will likely want to update it, from the "XCP-ng tools" SR.</p>
</blockquote>
<p dir="auto">Probably because I installed  xe-guest-utilities from ububtu repo.. I tried to update from the CD and got the following error:<br />
<code>bash /mnt/Linux/install.sh</code></p>
<pre><code>Detected `Ubuntu 22.04.5 LTS' (ubuntu version 22).

The following changes will be made to this Virtual Machine:
  * update arp_notify sysctl.
  * packages to be installed/upgraded:
    - xe-guest-utilities_7.30.0-12_amd64.deb

Continue? [y/n] y

(Reading database ... 136958 files and directories currently installed.)
Preparing to unpack .../xe-guest-utilities_7.30.0-12_amd64.deb ...
Unpacking xe-guest-utilities (7.30.0-12) over (7.20.2-0ubuntu1~22.04.2) ...
dpkg: error processing archive /mnt/Linux/xe-guest-utilities_7.30.0-12_amd64.deb (--install):
 trying to overwrite '/usr/bin/xenstore', which is also in package xenstore-utils 4.16.0-1~ubuntu2.1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /mnt/Linux/xe-guest-utilities_7.30.0-12_amd64.deb
</code></pre>
<p dir="auto">Could anyone advice of how to fix this issue? I tried apt remove xe-guest-utilities and got the same error</p>
]]></description><link>https://xcp-ng.org/forum/post/87732</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/87732</guid><dc:creator><![CDATA[fred974]]></dc:creator><pubDate>Mon, 06 Jan 2025 15:35:17 GMT</pubDate></item><item><title><![CDATA[Reply to Memory reporting incorrect values on Mon, 06 Jan 2025 13:50:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/fred974" aria-label="Profile: fred974">@<bdi>fred974</bdi></a> v6.80.6 is definitely very old, and did report <code>MemFree</code>, we ship v7.30 with XCP-ng 8.2.  You will likely want to update it, from the "XCP-ng tools" SR.</p>
]]></description><link>https://xcp-ng.org/forum/post/87718</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/87718</guid><dc:creator><![CDATA[yann]]></dc:creator><pubDate>Mon, 06 Jan 2025 13:50:48 GMT</pubDate></item><item><title><![CDATA[Reply to Memory reporting incorrect values on Mon, 06 Jan 2025 13:19:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/yann" aria-label="Profile: yann">@<bdi>yann</bdi></a> said in <a href="/forum/post/87707">Memory reporting incorrect values</a>:</p>
<blockquote>
<p dir="auto">What does xenstore ls attr/PVAddons show for this VM? And which kernel version is it using?</p>
</blockquote>
<pre><code>BuildVersion = "0"
Installed = "1"
MajorVersion = "6"
MicroVersion = "80"
MinorVersion = "6"
</code></pre>
<p dir="auto"><code>hostnamectl status</code></p>
<pre><code>   Static hostname: WEB1-OLS-QHUK
Transient hostname: web1-ols-qh-uk
         Icon name: computer-vm
           Chassis: vm
        Machine ID: 3b1da9b8e5cf4ecda845219bxxx
           Boot ID: 19308dbfd7d347c699985e82xxx
    Virtualization: xen
  Operating System: Ubuntu 22.04.5 LTS              
            Kernel: Linux 5.15.0-128-generic
      Architecture: x86-64
   Hardware Vendor: Xen
    Hardware Model: HVM domU
</code></pre>
]]></description><link>https://xcp-ng.org/forum/post/87711</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/87711</guid><dc:creator><![CDATA[fred974]]></dc:creator><pubDate>Mon, 06 Jan 2025 13:19:34 GMT</pubDate></item><item><title><![CDATA[Reply to Memory reporting incorrect values on Mon, 06 Jan 2025 13:09:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/fred974" aria-label="Profile: fred974">@<bdi>fred974</bdi></a> right, it is reporting <code>MemFree</code> here.</p>
<p dir="auto">What does <code>xenstore ls attr/PVAddons</code> show for this VM?  And which kernel version is it using?</p>
<p dir="auto">Old <code>xe-guest-utilities</code> before v7.30 indeed reported <code>MemFree</code>, which XenServer then improved in v8.4 to still report something for kernels older than 3.14 which did not have <code>MemAvailable</code> yet,  but Ubuntu 22.04 ships a decently-recent kernel, so I suspect it would be rather due to an old <code>xe-guest-utilities</code>.</p>
]]></description><link>https://xcp-ng.org/forum/post/87707</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/87707</guid><dc:creator><![CDATA[yann]]></dc:creator><pubDate>Mon, 06 Jan 2025 13:09:11 GMT</pubDate></item><item><title><![CDATA[Reply to Memory reporting incorrect values on Mon, 06 Jan 2025 12:00:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/yann" aria-label="Profile: yann">@<bdi>yann</bdi></a> said in <a href="/forum/post/87699">Memory reporting incorrect values</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/fred974" aria-label="Profile: fred974">@<bdi>fred974</bdi></a> the tools should be reporting the value from MemAvailable, so buffer/cache should not be considered as in-use.</p>
</blockquote>
<p dir="auto">Doesn't seem to be the case</p>
]]></description><link>https://xcp-ng.org/forum/post/87702</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/87702</guid><dc:creator><![CDATA[fred974]]></dc:creator><pubDate>Mon, 06 Jan 2025 12:00:40 GMT</pubDate></item><item><title><![CDATA[Reply to Memory reporting incorrect values on Mon, 06 Jan 2025 12:00:02 GMT]]></title><description><![CDATA[<p dir="auto">It would be great to have a bit for details on the memory so we can monitor the system better.</p>
]]></description><link>https://xcp-ng.org/forum/post/87701</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/87701</guid><dc:creator><![CDATA[fred974]]></dc:creator><pubDate>Mon, 06 Jan 2025 12:00:02 GMT</pubDate></item><item><title><![CDATA[Reply to Memory reporting incorrect values on Mon, 06 Jan 2025 11:58:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/yann" aria-label="Profile: yann">@<bdi>yann</bdi></a> said in <a href="/forum/post/87699">Memory reporting incorrect values</a>:</p>
<blockquote>
<p dir="auto">xenstore ls data</p>
</blockquote>
<p dir="auto">Here is what I see:<br />
<code>cat /proc/meminfo</code></p>
<pre><code>MemTotal:        8123972 kB
MemFree:          428388 kB
MemAvailable:    5419696 kB
Buffers:          411604 kB
Cached:          4771524 kB
SwapCached:          328 kB
Active:          3060024 kB
Inactive:        3339116 kB
Active(anon):     736300 kB
Inactive(anon):  1374628 kB
Active(file):    2323724 kB
Inactive(file):  1964488 kB
Unevictable:       27620 kB
Mlocked:           27620 kB
SwapTotal:       4194300 kB
SwapFree:        4191228 kB
Dirty:               284 kB
Writeback:             0 kB
AnonPages:       1243360 kB
Mapped:           919268 kB
Shmem:            885852 kB
KReclaimable:     997192 kB
Slab:            1155308 kB
SReclaimable:     997192 kB
SUnreclaim:       158116 kB
KernelStack:        4432 kB
PageTables:        13128 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     8256284 kB
Committed_AS:    5854320 kB
VmallocTotal:   34359738367 kB
VmallocUsed:       18656 kB
VmallocChunk:          0 kB
Percpu:             4192 kB
HardwareCorrupted:     0 kB
AnonHugePages:         0 kB
ShmemHugePages:        0 kB
ShmemPmdMapped:        0 kB
FileHugePages:         0 kB
FilePmdMapped:         0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
Hugetlb:               0 kB
DirectMap4k:      307200 kB
DirectMap2M:     8077312 kB
DirectMap1G:     1048576 kB
</code></pre>
<p dir="auto"><code>xenstore ls data</code></p>
<pre><code>meminfo_free = "422892"
meminfo_total = "8123972"
os_distro = "ubuntu"
os_majorver = "22"
os_minorver = "04"
os_name = "Ubuntu 22.04.5 LTS"
os_uname = "5.15.0-128-generic"
updated = "Mon Jan  6 11:52:45 2025"
volumes = ""
 0 = ""
  extents = ""
   0 = "xvda"
  filesystem = "ext4"
  free = "142059319296"
  mount_points = ""
   0 = "/"
  name = "/dev/xvda1(072768fc-9db5-4fa4-a6a1-c98afdd82d32)"
  size = "171682283008"
 1 = ""
  extents = ""
   0 = "xvda"
  free = "4138934272"
  name = "/dev/xvda14"
  size = "4194304"
 2 = ""
  extents = ""
   0 = "xvda"
  filesystem = "vfat"
  free = "103057408"
  mount_points = ""
   0 = "/boot/efi"
  name = "/dev/xvda15(D9A6-D2AA)"
  size = "111149056"
 3 = ""
  extents = ""
   0 = "xvdb"
  free = "4138934272"
  name = "/dev/xvdb1(355A-4FC2)"
  size = "10486272"
</code></pre>
<p dir="auto"><code>htop</code><br />
<img src="/forum/assets/uploads/files/1736164423455-8a9bc09d-32f7-4add-bc0f-de342d120523-image.png" alt="8a9bc09d-32f7-4add-bc0f-de342d120523-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><code>XOA</code><br />
<img src="/forum/assets/uploads/files/1736164597527-7930350b-6c50-4089-a67a-aed6e3187d94-image.png" alt="7930350b-6c50-4089-a67a-aed6e3187d94-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><code>XO Community</code><br />
<img src="/forum/assets/uploads/files/1736164703959-027a0264-69bc-4d58-8622-46abbe9455ad-image.png" alt="027a0264-69bc-4d58-8622-46abbe9455ad-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://xcp-ng.org/forum/post/87700</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/87700</guid><dc:creator><![CDATA[fred974]]></dc:creator><pubDate>Mon, 06 Jan 2025 11:58:26 GMT</pubDate></item><item><title><![CDATA[Reply to Memory reporting incorrect values on Mon, 06 Jan 2025 11:36:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/fred974" aria-label="Profile: fred974">@<bdi>fred974</bdi></a> the tools should be reporting the value from <code>MemAvailable</code>, so buffer/cache should not be considered as in-use.  What do you see (reported by the agent) in xenstore ?</p>
<p dir="auto">From within the guest:</p>
<pre><code># xenstore ls data
meminfo_free = "324060"
meminfo_total = "973736"
os_distro = "Debian"
os_name = "Debian 11"
os_uname = "5.10.0-21-amd64"
updated = "1"
</code></pre>
<p dir="auto">The <code>meminfo_free</code> should match what you see in <code>/proc/meminfo</code>.</p>
]]></description><link>https://xcp-ng.org/forum/post/87699</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/87699</guid><dc:creator><![CDATA[yann]]></dc:creator><pubDate>Mon, 06 Jan 2025 11:36:11 GMT</pubDate></item><item><title><![CDATA[Reply to Memory reporting incorrect values on Mon, 06 Jan 2025 11:03:11 GMT]]></title><description><![CDATA[<p dir="auto">Thank you all for your feedback on this matter. The OS used in this case ins Ubuntu 22.04.5 LTS.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/teddyastie" aria-label="Profile: TeddyAstie">@<bdi>TeddyAstie</bdi></a> said in <a href="/forum/post/87612">Memory reporting incorrect values</a>:</p>
<blockquote>
<p dir="auto">What gives cat /proc/meminfo</p>
</blockquote>
<pre><code>cat /proc/meminfo
MemTotal:        8123972 kB
MemFree:          440556 kB
MemAvailable:    5419780 kB
Buffers:          410852 kB
Cached:          4761852 kB
SwapCached:          328 kB
Active:          2995088 kB
Inactive:        3405912 kB
Active(anon):     723800 kB
Inactive(anon):  1399348 kB
Active(file):    2271288 kB
Inactive(file):  2006564 kB
Unevictable:       27620 kB
Mlocked:           27620 kB
SwapTotal:       4194300 kB
SwapFree:        4191228 kB
Dirty:              1508 kB
Writeback:             0 kB
AnonPages:       1255676 kB
Mapped:           939728 kB
Shmem:            885788 kB
KReclaimable:     995468 kB
Slab:            1154076 kB
SReclaimable:     995468 kB
SUnreclaim:       158608 kB
KernelStack:        4656 kB
PageTables:        13848 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     8256284 kB
Committed_AS:    5873420 kB
VmallocTotal:   34359738367 kB
VmallocUsed:       18896 kB
VmallocChunk:          0 kB
Percpu:             4192 kB
HardwareCorrupted:     0 kB
AnonHugePages:         0 kB
ShmemHugePages:        0 kB
ShmemPmdMapped:        0 kB
FileHugePages:         0 kB
FilePmdMapped:         0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
Hugetlb:               0 kB
DirectMap4k:      307200 kB
DirectMap2M:     8077312 kB
DirectMap1G:     1048576 kB
</code></pre>
]]></description><link>https://xcp-ng.org/forum/post/87695</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/87695</guid><dc:creator><![CDATA[fred974]]></dc:creator><pubDate>Mon, 06 Jan 2025 11:03:11 GMT</pubDate></item><item><title><![CDATA[Reply to Memory reporting incorrect values on Fri, 03 Jan 2025 18:21:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/jebrown" aria-label="Profile: jebrown">@<bdi>jebrown</bdi></a> OK good to know. This may be different on different OSes though, Windows may just report actually used RAM and leave out anything that is cached.</p>
]]></description><link>https://xcp-ng.org/forum/post/87618</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/87618</guid><dc:creator><![CDATA[planedrop]]></dc:creator><pubDate>Fri, 03 Jan 2025 18:21:37 GMT</pubDate></item><item><title><![CDATA[Reply to Memory reporting incorrect values on Fri, 03 Jan 2025 15:43:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/planedrop" aria-label="Profile: planedrop">@<bdi>planedrop</bdi></a> I'm using "citrix" tools for windows and I haven't noticed any of mine reporting any cached ram. Yet<br />
<img src="/forum/assets/uploads/files/1735919016963-cached-ram.png" alt="cached ram.png" class=" img-fluid img-markdown" /> <img src="/forum/assets/uploads/files/1735919027068-status.png" alt="status.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://xcp-ng.org/forum/post/87616</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/87616</guid><dc:creator><![CDATA[jebrown]]></dc:creator><pubDate>Fri, 03 Jan 2025 15:43:53 GMT</pubDate></item><item><title><![CDATA[Reply to Memory reporting incorrect values on Fri, 03 Jan 2025 14:29:25 GMT]]></title><description><![CDATA[<p dir="auto">It could be interesting to report all the information the guest can provide us, but there is no xenstore schema for that; and no support from xcp-rrdd either.</p>
<p dir="auto">Aside that, I don't think xe-guest-utilities consider cache memory as used; but there may be corner cases.<br />
What gives <code>cat /proc/meminfo</code></p>
]]></description><link>https://xcp-ng.org/forum/post/87612</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/87612</guid><dc:creator><![CDATA[TeddyAstie]]></dc:creator><pubDate>Fri, 03 Jan 2025 14:29:25 GMT</pubDate></item><item><title><![CDATA[Reply to Memory reporting incorrect values on Fri, 03 Jan 2025 08:32:50 GMT]]></title><description><![CDATA[<p dir="auto">Adding <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/yann" aria-label="Profile: yann">@<bdi>yann</bdi></a> and <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/teddyastie" aria-label="Profile: TeddyAstie">@<bdi>TeddyAstie</bdi></a>  in the convo (since we maybe need to report both, IDK)</p>
]]></description><link>https://xcp-ng.org/forum/post/87602</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/87602</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Fri, 03 Jan 2025 08:32:50 GMT</pubDate></item><item><title><![CDATA[Reply to Memory reporting incorrect values on Thu, 02 Jan 2025 22:18:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/fred974" aria-label="Profile: fred974">@<bdi>fred974</bdi></a> This is normal behavior, most modern OSes will use up as much RAM as they possibly can for caching, unused RAM is wasted RAM.</p>
<p dir="auto">I'd adjust your alert settings if you're getting high RAM usage alerts. You also could change things in the OS to prevent as much RAM being used for caching, but I'd avoid that if possible.</p>
<p dir="auto">The OS reports, via the tools, to the hypervisor about it's RAM usage, so if the OS is caching a lot, and therefore using most of it's RAM, it will report that to the hypervisor.</p>
<p dir="auto">I think, could be wrong, Windows doesn't report cached RAM via the tools so it may show "real" RAM usage, but this is OS specific stuff and not really XCP-ng or any hypervisor specific stuff.</p>
]]></description><link>https://xcp-ng.org/forum/post/87587</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/87587</guid><dc:creator><![CDATA[planedrop]]></dc:creator><pubDate>Thu, 02 Jan 2025 22:18:52 GMT</pubDate></item><item><title><![CDATA[Reply to Memory reporting incorrect values on Thu, 02 Jan 2025 18:55:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> But all modern OS will use the RAM as cache for performance etc. So how can I ensure I get the correct info? At the moment I bombarded with email saying high RAM usage</p>
]]></description><link>https://xcp-ng.org/forum/post/87580</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/87580</guid><dc:creator><![CDATA[fred974]]></dc:creator><pubDate>Thu, 02 Jan 2025 18:55:07 GMT</pubDate></item><item><title><![CDATA[Reply to Memory reporting incorrect values on Thu, 02 Jan 2025 18:36:13 GMT]]></title><description><![CDATA[<p dir="auto">It's not XO. It's what's reported by the tools.</p>
]]></description><link>https://xcp-ng.org/forum/post/87577</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/87577</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 02 Jan 2025 18:36:13 GMT</pubDate></item><item><title><![CDATA[Reply to Memory reporting incorrect values on Thu, 02 Jan 2025 17:51:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> said in <a href="/forum/post/87164">CPU reporting incorrect values</a>:</p>
<blockquote>
<p dir="auto">Check carefully your htop output. See the huge yellow bar? That's the buffer/cache used</p>
</blockquote>
<p dir="auto">So  Xen Orchestra see cached value as ram in use and not the actual active used ram?</p>
]]></description><link>https://xcp-ng.org/forum/post/87572</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/87572</guid><dc:creator><![CDATA[fred974]]></dc:creator><pubDate>Thu, 02 Jan 2025 17:51:51 GMT</pubDate></item><item><title><![CDATA[Reply to Memory reporting incorrect values on Thu, 19 Dec 2024 17:24:42 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Check carefully your <code>htop</code> output. See the huge yellow bar? That's the buffer/cache used <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=977a46e9d9a" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto">edit: also please fix the title, your request is related to memory, not CPU <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=977a46e9d9a" class="not-responsive emoji emoji-android emoji--wink" style="height:23px;width:auto;vertical-align:middle" title=";)" alt="😉" /></p>
]]></description><link>https://xcp-ng.org/forum/post/87164</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/87164</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 19 Dec 2024 17:24:42 GMT</pubDate></item></channel></rss>