[ovirt-users] Re: Ovirt engine showing wrong host's memory usage

2020-03-16 Thread Noua TOUKOUROU
Hi,

Engine and host
===
CentOS Linux release 7.7.1908
Ovirt 4.3

Please let me know if you need more info

Best,

--
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.toukou...@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-12 17:09:43+01:00 Sandro Bonazzola wrote:


Il giorno gio 12 mar 2020 alle ore 16:48 Noua TOUKOUROU 
mailto:noua.toukou...@uni.lu>> ha scritto:
Hi,

My ovirt engine is showing wrong host's memory usage. Even when this one has no 
VM.
How to fix it ?
Hi can you please provide more info about your environment? Which version of 
ovirt-engine are you using?

Thanks
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to 
users-le...@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/EFID33C57RNQWQ4NB7LDEFY56EX25BEW/

--

Sandro Bonazzola

MANAGER, SOFTWARE ENGINEERING, EMEA R RHV

Red Hat EMEA

sbona...@redhat.com

[https://marketing-outfit-prod-images.s3-us-west-2.amazonaws.com/f5445ae0c9ddafd5b2f1836854d7416a/Logo-RedHat-Email.png]
Red Hat respects your work life balance. Therefore there is no need to answer 
this email out of your office hours.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/VPB3XAV3FC2IMT5S6UC4QVU6UQB4SQ2H/


[ovirt-users] Re: Ovirt engine showing wrong host's memory usage

2020-03-16 Thread Noua TOUKOUROU
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.toukou...@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  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-le...@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/XBHQUIDKZDNIKPNWGWIL67EVJA2QYXKG/


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/RHH6YUC3OVJDKR2NVKDCOXN63F2TUERO/


[ovirt-users] Re: Ovirt engine showing wrong host's memory usage

2020-03-16 Thread Alan G
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 + Michal Skrivanek 
 wrote 







On 13 Mar 2020, at 18:55, Alan G  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/lib/vdsm/host/api.py#L131


 





 On Fri, 13 Mar 2020 17:47:34 + Michal Skrivanek 
 wrote 



> On 10 Mar 2020, at 15:46, Noua TOUKOUROU  
> 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 -- mailto:users@ovirt.org 
> To unsubscribe send an email to mailto:users-le...@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/XBHQUIDKZDNIKPNWGWIL67EVJA2QYXKG/
>  
___
Users mailing list -- mailto:users@ovirt.org
To unsubscribe send an email to mailto:users-le...@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/FNYIXMSBRHV2A3U55UG2P2WAQ5P5CFXO/















___

Users mailing list -- users@ovirt.org

To unsubscribe send an email to users-le...@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/PMVQLLRAWYBOC3DOFVFZGNQJROQPAS54/___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/KMGW4C4GUWCFS3R52ZWMMSQXOZ4NWWV5/


[ovirt-users] Re: Ovirt engine showing wrong host's memory usage

2020-03-16 Thread Michal Skrivanek


> On 13 Mar 2020, at 18:55, Alan G  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/lib/vdsm/host/api.py#L131
 
> 
> 
>  On Fri, 13 Mar 2020 17:47:34 + Michal Skrivanek 
>  wrote 
> 
> > On 10 Mar 2020, at 15:46, Noua TOUKOUROU  > > 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-le...@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/XBHQUIDKZDNIKPNWGWIL67EVJA2QYXKG/
> >  
> > 
> >  
> ___
> Users mailing list -- users@ovirt.org 
> To unsubscribe send an email to users-le...@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/FNYIXMSBRHV2A3U55UG2P2WAQ5P5CFXO/
>  
> 
> 
> 

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/PMVQLLRAWYBOC3DOFVFZGNQJROQPAS54/


[ovirt-users] Re: Ovirt engine showing wrong host's memory usage

2020-03-13 Thread Alan G
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 + Michal Skrivanek 
 wrote 



> On 10 Mar 2020, at 15:46, Noua TOUKOUROU  
> 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 -- mailto:users@ovirt.org 
> To unsubscribe send an email to mailto:users-le...@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/XBHQUIDKZDNIKPNWGWIL67EVJA2QYXKG/
>  
___
Users mailing list -- mailto:users@ovirt.org
To unsubscribe send an email to mailto:users-le...@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/FNYIXMSBRHV2A3U55UG2P2WAQ5P5CFXO/___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/57X772YJMKLDVZLFL4EVY56JTFDZADDN/


[ovirt-users] Re: Ovirt engine showing wrong host's memory usage

2020-03-13 Thread Michal Skrivanek
> On 10 Mar 2020, at 15:46, Noua TOUKOUROU  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-le...@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/XBHQUIDKZDNIKPNWGWIL67EVJA2QYXKG/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/FNYIXMSBRHV2A3U55UG2P2WAQ5P5CFXO/


[ovirt-users] Re: Ovirt engine showing wrong host's memory usage

2020-03-12 Thread Sandro Bonazzola
Il giorno gio 12 mar 2020 alle ore 16:48 Noua TOUKOUROU <
noua.toukou...@uni.lu> ha scritto:

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

Hi can you please provide more info about your environment? Which version
of ovirt-engine are you using?



>
> Thanks
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@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/EFID33C57RNQWQ4NB7LDEFY56EX25BEW/
>


-- 

Sandro Bonazzola

MANAGER, SOFTWARE ENGINEERING, EMEA R RHV

Red Hat EMEA 

sbona...@redhat.com
*Red Hat respects your work life balance.
Therefore there is no need to answer this email out of your office hours.
*
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/6X6YJRBLKNPYBQ7IIDS3WZOZYV5QCTJU/