[libvirt] Xen and out of memory stuff, blocks libvirtd

Stefan de Konink stefan at konink.de
Wed Oct 8 17:57:08 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Daniel P. Berrange schreef:
> On Wed, Oct 08, 2008 at 07:32:21PM +0200, Stefan de Konink wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA512
>>
>> [2008-10-08 19:14:05 13001] ERROR (XendCheckpoint:157) Save failed on
>> domain klant1_monetdb (17) - resuming.
>> Traceback (most recent call last):
>>   File "usr/lib64/python2.5/site-packages/xen/xend/XendCheckpoint.py",
>> line 125, in save
>>     forkHelper(cmd, fd, saveInputHandler, False)
>>   File "usr/lib64/python2.5/site-packages/xen/xend/XendCheckpoint.py",
>> line 358, in forkHelper
>>     child = xPopen3(cmd, True, -1, [fd, xc.handle()])
>>   File "usr/lib64/python2.5/site-packages/xen/util/xpopen.py", line 100,
>> in __init__
>>     self.pid = os.fork()
>> OSError: [Errno 12] Cannot allocate memory
>> [2008-10-08 19:14:05 13001] DEBUG (XendDomainInfo:2456)
>> XendDomainInfo.resumeDomain(17)
>>
>> After this point, I am unable to contact the libvird daemon.
> 
> Well your host OS has run out of memory, so pretty much everything
> will be fubar at this point. If it can't even fork() then there's
> not much libvirt until this is resolved. libvirt tries to handle
> OOM scenario but there's some places we might have missed, but
> even so, the best libvirt can do is to drop all further requests
> as gracefully as possible. 

Not quite right, the host OS still has 32MB of memory at this point. But
I agree strange things, even with later saves. If there is anything that
is able to remove that painful xend stuff... I'm happy to give it a shot.


Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREKAAYFAkjs9HMACgkQYH1+F2Rqwn2RygCdF37bTe5yxGaMxF+cSRIRqTAX
sH4An341jO4GSiWG84if9zEScS09XBgZ
=rG7F
-----END PGP SIGNATURE-----




More information about the libvir-list mailing list