WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] domU keeps crashing with repeating error message

To: mma@xxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] domU keeps crashing with repeating error message
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Thu, 24 Aug 2006 15:19:05 +0200
Delivery-date: Thu, 24 Aug 2006 06:20:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <61010.192.18.1.4.1156425012.squirrel@xxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcbHfw25nsGdBbHDSqm+9XzOWxE7TgAAAuXw
Thread-topic: [Xen-users] domU keeps crashing with repeating error message
 

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Md Mooktakim Ahmed
> Sent: 24 August 2006 14:10
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-users] domU keeps crashing with repeating 
> error message
> 
> So the domU ran out of memory?
> and not the dom 0?
> 
> if its a domU out of memory problem. Whats the best way to proceed?
> Should i increase swap? or RAM? or both?

Depends on what you expect your DomU to use memory for...

More swap will allow it to have a bigger working set, but at the cost of
having to do more disk accesses. Giving it more memory will allow it to
have more memory without storing data on disk. 

Obviously, giving it more memory will also reduce the number of DomU you
can ultimately run on the system. 

You can check with applications such as "top" to see how much memory
each task uses. If you find that a lot of your tasks are running with a
lot of memory, and they are "active" (i.e. at least sometimes get some
percentage of CPU time), then you probably want more memory. If you find
that the ACTIVE tasks aren't using much memory, but the system overall
needs a fair bit of memory, then swap-space is what you need [because
the systme doesn't actively use that huge amounts of memoyr]. Press "M"
in top, and it will list processes in memory usage order rather than the
normal "processor usage" order.

Using various stat's software to look at "swapping" would be another
hint to tell you which way to go. 

--
Mats
> 
> On Thu, August 24, 2006 1:34 pm, Marcin Owsiany wrote:
> > On Thu, Aug 24, 2006 at 10:51:59AM +0100, Md Mooktakim Ahmed wrote:
> >
> >> I don't know what happened.
> >>
> > [...]
> >
> >> oom-killer: gfp_mask=0xd0, order=0
> >>
> > [...]
> >
> >> Free pages:        2056kB (0kB HighMem)
> >>
> > [...]
> >
> >> Free swap  = 0kB
> >> Total swap = 1048568kB
> >>
> >
> > Looks like it ran out of memory, as it reports only 2MB 
> free memory, and
> > your 1GB swap is full as well.
> >
> > Marcin
> > --
> > Marcin Owsiany <marcin@xxxxxxxxxx>              
> http://marcin.owsiany.pl/
> > GnuPG: 1024D/60F41216  FE67 DA2D 0ACA FC5E 3F75  D6F6 3A0D 
> 8AA0 60F4 1216
> >
> >
> > "Every program in development at MIT expands until it can 
> read mail."
> > -- Unknown
> >
> >
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-users
> >
> >
> >
> 
> 
> -- 
> Website: http://www.mooktakim.com
> email: mma@xxxxxxxxxxxxx
> 
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
> 
> 
> 



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users