|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] cannot allocate memory
On Sat, Jan 20, 2007 at 12:37:34AM +0100, Mihamina Rakotomandimby (R12y) wrote:
> Hi,
> I have Xen 3.0.3 on an opensuse 10.2.
> This is the status of my memory:
>
> mihamina@asus:~> free
> total used free shared buffers cached
> Mem: 1777664 1769308 8356 0 16288 673308
> Swap: 6626728 60 6626668
>
>
> Whne I create a ("256M RAM", "1 vcpu") domU:
> [...]
> Error: (12, 'Cannot allocate memory')
> [...]
>
> Well. The message is quite clear. But my swap is still free (6GB man!).
> I guess the Xen utility is not able to swap things. What is the common
> way to free some RAM? is there a kind of 'swapwhatever <PID>' magic tool
> you would recommend? I wont reboot my box in order to free memory!
I believe this is a bug in the Hypervisor in Xen 3.0.3. I'm not sure what
changeset solved it offhand, but the fix should be in Xen 3.0.4 already.
Basically once you get into this state, unless you are incredibly lucky
you'll not get out of it except by rebooting. The cause is the HV doing a bogus
check for some bit being set/unset in a piece of memory it shouldn't. In
particular it has absolutely nothing todo with how much free memory you
have in your machine.
Regards,
Dan.
--
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules: http://search.cpan.org/~danberr/ -=|
|=- Projects: http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|