Out of memory during Domain creation
Is there any way to detect that Xen is out of memory when it creates a domain? I just spent quick a bit of time rebooting Xen to try to figure out what I was doing wrong, and, in the end, it was an out-of-memory error.
I'd love to hack the xc_dom_create.py to report this error more explicitly if there is a mechanism for this.
Thanks,
Charlie
Charlie Woloszynski
Innovative Concepts Inc.
703-893-2007 x506
[email protected]
Quoted 6 lines
Is there any way to detect that Xen is out of memory when it creates a domain? I just spent quick a bit of time rebooting Xen to try to figure out what I was doing wrong, and, in the end, it was an out-of-memory error.
I'd love to hack the
xc_dom_create.pyto report this error more explicitly if there is a mechanism for this.
Apologies -- we're aware of this but haven't had time to do a fix. The dom0_op returns ENOMEM, but somewhere along the line this error code is getting dropped. We should probably hack the python-C interface to generate an exception rather than return an error code.
Patches gratefully received ;-)
Cheers,
Ian
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click