
--_000_AM3PR06MB12021070EF302BE6210F1A65828C0AM3PR06MB1202eurp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I'm trying to track down why my Foreman Centos7 VM continuously crashes wit= h out of Memory errors on my ovirt-3.6 hosts and what seems to happen is th= e following: 1. The Foreman VM only uses 1GB at the beginning and MOM over time reduces = the memory size from 8GB Ram to the defined minimum of 2GB mom.log: 2016-03-18 12:25:42,669 - mom.Controllers.Balloon - INFO - Ballooning guest= :qvie-foreman from 2210584 to 2100054 2. When the VM needs RAM very quickly like if you do an 'cp /dev/zero /run/= zero' the ovirt guest agent crashes with an out of memory error. ovirt-guest-agent.log: Traceback (most recent call last): File "/usr/share/ovirt-guest-agent/OVirtAgentLogic.py", line 239, in doWo= rk self.sendUserInfo() File "/usr/share/ovirt-guest-agent/OVirtAgentLogic.py", line 355, in send= UserInfo cur_user =3D self.dr.getActiveUser() File "/usr/share/ovirt-guest-agent/GuestAgentLinux2.py", line 325, in get= ActiveUser users =3D os.popen('/usr/bin/users').read().split() OSError: [Errno 12] Cannot allocate memory 3. Resulting in an MOM warning that it can't get any memory stats from the = VM. Leaving the memory size at its minimum size:. mom.log: mom.Collectors.GuestMemory - WARNING - getVmMemoryStats() error: The ovirt-= guest-agent is not active Any chances to prevent that from happening? Or is this a bug in MOM / ovirt= -guest-agent that should be fixed? Greetings Andreas --_000_AM3PR06MB12021070EF302BE6210F1A65828C0AM3PR06MB1202eurp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-= 1"> <style type=3D"text/css" style=3D"display:none;"><!-- P {margin-top:0;margi= n-bottom:0;} --></style> </head> <body dir=3D"ltr"> <div id=3D"divtagdefaultwrapper" style=3D"font-size:12pt;color:#000000;back= ground-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;"> <p>Hi,</p> <p><br> </p> <p>I'm trying to track down why my Foreman Centos7 VM continuously crashes = with out of Memory errors on my ovirt-3.6 hosts and what seems to happen is= the following:</p> <p><br> </p> <p>1. The Foreman VM only uses 1GB at the beginning and MOM over time reduc= es the memory size from 8GB Ram to the defined minimum of 2GB <br> </p> <p><br> </p> <p>mom.log:<br> 2016-03-18 12:25:42,669 - mom.Controllers.Balloon - INFO - Ballooning guest= :qvie-foreman from 2210584 to 2100054</p> <p><br> </p> <p>2. When the VM needs RAM very quickly like if you do an 'cp /dev/zero /r= un/zero' the ovirt guest agent crashes with an out of memory error.</p> <p><br> </p> <p>ovirt-guest-agent.log:</p> <p>Traceback (most recent call last):<br> File "/usr/share/ovirt-guest-agent/OVirtAgentLogic.py", li= ne 239, in doWork<br> self.sendUserInfo()<br> File "/usr/share/ovirt-guest-agent/OVirtAgentLogic.py", li= ne 355, in sendUserInfo<br> cur_user =3D self.dr.getActiveUser()<br> File "/usr/share/ovirt-guest-agent/GuestAgentLinux2.py", l= ine 325, in getActiveUser<br> users =3D os.popen('/usr/bin/users').read().split()<br> OSError: [Errno 12] Cannot allocate memory<br> <br> 3. Resulting in an MOM warning that it can't get any memory stats from the = VM. Leaving the memory size at its minimum size:.<br> </p> <p><br> </p> <p>mom.log:<br> </p> <p>mom.Collectors.GuestMemory - WARNING - getVmMemoryStats() error: The ovi= rt-guest-agent is not active</p> <p><br> </p> <p>Any chances to prevent that from happening? Or is this a bug in MOM / ov= irt-guest-agent that should be fixed?<br> </p> <p><br> </p> <p>Greetings</p> <p>Andreas<br> <br> </p> </div> </body> </html> --_000_AM3PR06MB12021070EF302BE6210F1A65828C0AM3PR06MB1202eurp_--