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/
Home Products Support Community News


Re: [Xen-devel] Xrenstore and many save/restore cycles...

To: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Subject: Re: [Xen-devel] Xrenstore and many save/restore cycles...
From: Tom Wilkie <tom.wilkie@xxxxxxxxx>
Date: Thu, 10 May 2007 14:57:45 +0100
Cc: Keir Fraser <keir@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Tom Wilkie <tom.wilkie@xxxxxxxxx>
Delivery-date: Thu, 10 May 2007 06:56:09 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=AiufQdez628fvd+6FMVY/ixxRLrqLZZcbun3Ocq8YO4X9oNfRzS7mdo8jGWhcmA8Zi62Vtyjxbl25653HPF8kJbfwlo4+adsQLXKq0TZywCUqWsWin5j0oFv1J0b3gMDiNTnd4hKpRubF6nuKqB5lTCUnnLwTx5865sn+LehVAg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=YpSQFHedzO43jw8Y3pBP/xfsT7VEWcYt47A3ydHqqSYnNnYQn3d+z64o2Ao6iBC/2WWAy2dMXFmnh+V7b34xr1mj13jKeZY6BgA7C99xV+O/OKG9zKOhMzh0XBK3jCTKEJpB9oqsnwjsZgKYy1Jgl743rvHMateYN6a1N9ZDAXY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <907625E08839C4409CE5768403633E0B018E1CE4@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <907625E08839C4409CE5768403633E0B018E1CE4@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
If you look in python/xen/xend/server at the various device controllers, like blkif.py etc they should do the tidying up.



On 10 May 2007, at 14:47, Petersson, Mats wrote:

-----Original Message-----
From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
Petersson, Mats
Sent: 09 May 2007 17:50
To: Keir Fraser; xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-devel] Xrenstore and many save/restore cycles...

-----Original Message-----
From: Keir Fraser [mailto:keir@xxxxxxxxxxxxx]
Sent: 09 May 2007 17:46
To: Petersson, Mats; xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Xrenstore and many save/restore cycles...

On 9/5/07 17:18, "Petersson, Mats" <Mats.Petersson@xxxxxxx> wrote:

These days xenstore only needs to hold information about live
domains. The
/vm/<uuid> directory should be removed by xend once a domain
is completely
dead. It'd be great to get a patch to fix this!

Ok, I'm happy to make an attempt to fix this, but I haven't
really got a
clue even where to start looking to find the right place to
remove it...
Any hint?

Hmmm... Somewhere in tools/python/xen/xend is the best I can do!

I started looking there while waiting for a reply - didn't
find anything
real useful, but I will look again tomorrow unless someone
comes up with
a solution before then.

Well, I've looked at it further, and it's not the
/local/domain/foo that is left behind (or at least, that's
not the first bit that comes up).

Sorry about that, hit Send when I really didn't want to do that...

I've looked for /vm/foo, which is very short, so that's not what is
filling up the xenstore.

It seems like I've got a lot of /local/domain/0/backend/console/* stuff
tho. Not sure if I have any other .../0/backend/* stuff as well, but
certainly there are literally thousands of consoles there..

Trying to locate where these are created and restored, but no success


The /local/domain/foo directory seems to disappear nicely.
Perhaps the
/vm/foo directory could go at the same time without
things breaking?

Will have a look at the /local/... Path and see if I can find where
that's removed. So far I didn't find any (particularly
useful) "xenstore
remove" operations....


 -- Keir

Xen-devel mailing list

Xen-devel mailing list

Xen-devel mailing list