[Fedora-xen] memory allocation issue

George Hill e1geo at yahoo.com
Wed Nov 29 04:48:24 UTC 2006


Sorry for the repost, but this got burried as a possible follow-up to an old post. Was 
Error: (12, 'Cannot allocate memory')

Sometimes I get a cannot allocate memory error when I try to create a guest. 
I have plenty of memory. When I reboot the host, I no longer get the error. 
Any ideas on how to fix this problem? Thanks for your help.

# xm create /etc/xen/FC6.virt3
Using config file "/etc/xen/FC6.virt3".
Error: (12, 'Cannot allocate memory')


The end of the log shows the following:

[2006-11-28 19:11:00 xend 2851] DEBUG (image:467) hvm shutdown watch registered
[2006-11-28 19:11:00 xend.XendDomainInfo 2851] ERROR (XendDomainInfo:202) Domain construction failed
Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 195, in create
    vm.initDomain()
  File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1363, in initDomain
    raise VmError(str(exn))
VmError: (12, \047Cannot allocate memory\047)
[2006-11-28 19:11:00 xend.XendDomainInfo 2851] DEBUG (XendDomainInfo:1449) XendDomainInfo.destroy: domid=3
[2006-11-28 19:11:00 xend.XendDomainInfo 2851] DEBUG (XendDomainInfo:1457) XendDomainInfo.destroyDomain(3)
[2006-11-28 19:11:00 xend 2851] DEBUG (image:479) hvm shutdown watch unregistered
[2006-11-28 19:11:00 xend 2851] ERROR (xswatch:70) read_watch failed
Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/xen/xend/xenstore/xswatch.py", line 66, in watchMain
    res = watch.fn(we[0], *watch.args, **watch.kwargs)
  File "/usr/lib64/python2.4/site-packages/xen/xend/image.py", line 489, in hvm_shutdown
    reason = vm.readDom(\047control/shutdown\047)
AttributeError: \047NoneType\047 object has no attribute \047readDom\047




 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com




More information about the Fedora-xen mailing list