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] 15142:78389dbb08bb and domain state

To: John Levon <levon@xxxxxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] 15142:78389dbb08bb and domain state
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Fri, 09 Nov 2007 07:42:33 +0000
Delivery-date: Thu, 08 Nov 2007 23:37:22 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20071109044958.GA5680@xxxxxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcgipBalVPvhVo6XEdyujQAWy6hiGQ==
Thread-topic: [Xen-devel] 15142:78389dbb08bb and domain state
User-agent: Microsoft-Entourage/11.3.6.070618
On 9/11/07 04:49, "John Levon" <levon@xxxxxxxxxxxxxxxxx> wrote:

> It's the below changeset - no code to reset the domid exists any more.
> It seems suboptimal to me? Shouldn't refreshShutdown (or somewhere,
> anyway) remove domid?

Does this only happen for your special screwed domains that don't actually
die?

You can use the 'q' debug key to Xen to get it to print out per-domain info,
including a list of held pages (if there's only one or two pages held) and
their reference counts.

 -- Keir

> I noticed this whilst having another, more serious problem: sometimes,
> domains are never released, with a page still referenced (presumably?):
> 
>>>> xc.domain_getinfo(21, 1)
> [{'paused': 0, 'cpu_time': 4895498373L, 'ssidref': 0, 'hvm': 0,
> 'shutdown_reason': 0, 'dying': 1, 'mem_kb': 4L, 'domid': 22,
> 'max_vcpu_id': 0, 'crashed': 0, 'running': 0, 'maxmem_kb': 1048576L,
> 'shutdown': 0, 'online_vcpus': 1, 'handle': [75, 158, 234, 68, 113, 241,
> 195, 238, 113, 125, 31, 198, 154, 74, 44, 188], 'blocked': 1}]
> 
> None of the user-space daemons seem to be the culprit. I'm still trying
> to find out why xen thinks a page is still held. Note that this domain
> is still using flip instead of copy - I know that's not the default,
> could a bug there have crept in?



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