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-devel

RE: [Xen-devel] out-of-memory problem when restoring ballooneddomains

To: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>
Subject: RE: [Xen-devel] out-of-memory problem when restoring ballooneddomains
From: Lars Rasmusson <Lars.Rasmusson@xxxxxx>
Date: Thu, 10 Mar 2005 15:01:36 -0800
Cc: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>, xen-devel <Xen-devel@xxxxxxxxxxxxxxxxxxxxx>, Mark Williamson <Mark.Williamson@xxxxxxxxxxxx>, ian.pratt@xxxxxxxxxxxx
Delivery-date: Thu, 10 Mar 2005 23:02:28 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <A95E2296287EAD4EB592B5DEEFCE0E9D1E3598@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Organization: HP Labs, Palo Alto, CA
References: <A95E2296287EAD4EB592B5DEEFCE0E9D1E3598@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
No, unfortunately that didn't help.  (I was already running
2.0-testing from this morning PST, so I guess I already had most
(all?) of the patches, but I guess it was worth a try...)

Perhaps it is not related to memory... When I try
to restore only t1 and t3, they also fail with 'Error: 1'

Perhaps it is because t1 and t3 both did run on CPU 0 while
t2 did run on CPU 1 (at least it says '(cpu 0)' in {t1,t3}.saved.

It was only a guess that it was memory related.  Could there
be some other explanation - CPU related?

Perhaps it is useful to see the trace from xend...
I started it with /usr/sbin/xend trace_start and
I cut out the relevant part (I think), where xend starts
to process the request to restore t3.saved.  It
eventually ends up at _perform_err which logs the
error I mentioned earlier: 

[2005-03-10 12:43:44 xend] ERROR (SrvBase:162) op=restore: 1
None


Thanks again for looking into this! 

/Lars





On Thu, 2005-03-10 at 20:58 +0000, Ian Pratt wrote:
> Please can you try this out with 2.0.5 -- there have been a bunch of
> fixes in these general areas, though I'm not sure it'll be fixed for
> you.
> Ian 
> 
> > -----Original Message-----
> > From: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx 
> > [mailto:xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> > Lars Rasmusson
> > Sent: 10 March 2005 20:54
> > To: Keir Fraser
> > Cc: xen-devel; Mark Williamson
> > Subject: Re: [Xen-devel] out-of-memory problem when restoring 
> > ballooneddomains
> > 
> > The /var/log/xend.log gets these three lines added when I 
> > have restored
> > t3 and t2, and try to restore t1
> > 
> > [2005-03-10 12:43:43 xend] INFO (XendMigrate:413) restore BEGIN:
> > ['restore', ['id', '2'], ['file', '/home/testlars/t1.saved']]
> > [2005-03-10 12:43:44 xend] ERROR (SrvBase:162) op=restore: 1
> > None
> > 
> > Nothing is written into /var/log/xend-debug.log
> > 
> > /Lars
> > 
> > 
> > On Thu, 2005-03-10 at 19:44 +0000, Keir Fraser wrote:
> > > On 10 Mar 2005, at 18:54, Lars Rasmusson wrote:
> > > 
> > > > So all domains have 128 Mb, and xen seems to count the 
> > memory fine...
> > > >
> > > > (FYI I'm using xen-2.0-testing, checked out from bitkeeper this 
> > > > morning)
> > > 
> > > Very odd. Does /var/xen/xend-debug.log contain anything interesting?
> > > We'll have to see if we can reproduce this -- my guess 
> > would be a tools 
> > > hiccup as xen seems to be dealing with the scenario as expected.
> > > 
> > >   -- Keir
> > > 
> > 
> > 
> > -------------------------------------------------------
> > SF email is sponsored by - The IT Product Guide
> > Read honest & candid reviews on hundreds of IT Products from 
> > real users.
> > Discover which products truly live up to the hype. Start reading now.
> > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@xxxxxxxxxxxxxxxxxxxxx
> > https://lists.sourceforge.net/lists/listinfo/xen-devel
> > 

Attachment: xend.trace.txt
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>