Ovirt engine showing wrong host's memory usage

Hi, My ovirt engine is showing wrong host's memory usage. Even when this one has no VM. How to fix it ? Thanks

I've observed that oVirt considers cache/buffer memory as "used". So a host can report, for example, 10% memory utilisation when hosting 0 VMs. A reboot of the host will of course free all that memory and the host will again report something close to 0%. This caused me a shock a few weeks ago when I thought my cluster was running out of memory. Given that the kernel will give back the buffer memory as required, is it not perhaps a bit misleading to count it as "used"? ---- On Fri, 13 Mar 2020 17:47:34 +0000 Michal Skrivanek <michal.skrivanek@redhat.com> wrote ----
What’s wrong with it?
_______________________________________________ Users mailing list -- mailto:users@ovirt.org To unsubscribe send an email to mailto:users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/FNYIXMSBRHV2A3...

On 13 Mar 2020, at 18:55, Alan G <alan+ovirt@griff.me.uk> wrote:
I've observed that oVirt considers cache/buffer memory as "used”.
Where do you see that?
it is not counted as used, https://github.com/oVirt/vdsm/blob/95d734bace00b87a17d333ac1871a489b1812160/...

Maybe there is some subtlety here that I am missing? Taking one of my hosts as an example (running 4.2 - not sure if the code has changed in 4.3?) $ head -5 /proc/meminfo MemTotal: 263695240 kB MemFree: 80087284 kB MemAvailable: 137272368 kB Buffers: 79620 kB Cached: 7758272 kB While in the oVIrt GUI it reports 257514 MB total 172534 MB used 84980 MB free And from the Host page it reports memory utilisation as 67%, which roughly equates to used / total. (total - available) / total would give a value more like 50%. ---- On Mon, 16 Mar 2020 14:39:16 +0000 Michal Skrivanek <michal.skrivanek@redhat.com> wrote ---- On 13 Mar 2020, at 18:55, Alan G <mailto:alan+ovirt@griff.me.uk> wrote: I've observed that oVirt considers cache/buffer memory as "used”. Where do you see that? So a host can report, for example, 10% memory utilisation when hosting 0 VMs. A reboot of the host will of course free all that memory and the host will again report something close to 0%. This caused me a shock a few weeks ago when I thought my cluster was running out of memory. Given that the kernel will give back the buffer memory as required, is it not perhaps a bit misleading to count it as "used"? it is not counted as used, https://github.com/oVirt/vdsm/blob/95d734bace00b87a17d333ac1871a489b1812160/... ---- On Fri, 13 Mar 2020 17:47:34 +0000 Michal Skrivanek <mailto:michal.skrivanek@redhat.com> wrote ----
What’s wrong with it?
_______________________________________________ Users mailing list -- mailto:users@ovirt.org To unsubscribe send an email to mailto:users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/FNYIXMSBRHV2A3... _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/PMVQLLRAWYBOC3...

Hi, This is not reflecting the right usage. Also Ovirt keeps sending alert emails for high memory usage. Is there a way to fix this ? Best, Noua -- Noua Toukourou Research (and development) specialist System Administrator UNIVERSITÉ DU LUXEMBOURG LUXEMBOURG CENTRE FOR SYSTEMS BIOMEDECINE Campus Belval | House of Biomedicine II 6, avenue du Swing L-4367 Belvaux T +352 46 66 44 9638 F +352 46 66 44 39638 noua.toukourou@uni.lu<mailto:noua.toukourou@uni.lu> https://lcsb.uni.lu<https://lcsb.uni.lu/> If ‘Plan A’ didn’t work, the alphabet has 25 more letters! Stay cool. ----- This message is confidential and may contain privileged information. It is intended for the named recipient only. If you receive it in error please notify me and permanently delete the original message and any copies. ----- On 2020-03-13 18:49:03+01:00 Michal Skrivanek wrote: > On 10 Mar 2020, at 15:46, Noua TOUKOUROU <noua.toukourou@uni.lu> wrote: > > > Hi, > > My ovirt engine is showing wrong host's memory usage. Even when this one has no VM. > How to fix it ? What’s wrong with it? > > Thanks > _______________________________________________ > Users mailing list -- users@ovirt.org > To unsubscribe send an email to users-leave@ovirt.org > Privacy Statement: https://www.ovirt.org/privacy-policy.html > oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ > List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/XBHQUIDKZDNIKP... </noua.toukourou@uni.lu>
participants (3)
-
Alan G
-
Michal Skrivanek
-
Noua TOUKOUROU