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] domains not shutting down properly - theproblemisback ag

To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] domains not shutting down properly - theproblemisback again
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Fri, 2 Jan 2009 22:15:11 +1100
Cc:
Delivery-date: Fri, 02 Jan 2009 03:16:01 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C5839FF4.20AC3%keir.fraser@xxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AEC6C66638C05B468B556EA548C1A77D01550172@trantor> <C5839FF4.20AC3%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AclsEUiDJwnrGfQLQ6G5Bsw4GM+wzgAAL2RgAAIdJkkAHEzXYAAA9a8QAAD1UUAACaHcAAABmirxAAEexXAAAH2McAABD1zQ
Thread-topic: [Xen-devel] domains not shutting down properly - theproblemisback again
> > Just added some more logging - domain_kill is never called either
until
> > I explicitly say 'xm destroy'
> 
> That's expected. But you don't expect a domain to disappear until you
do
> 'xm
> destroy', unless you have on_{poweroff,destroy,crash} = destroy in
your
> domain config file. In which case the call to domain_kill() should be
made
> automatically by xend.
> 
> Your problem is the domain doesn't disappear even after explicitly
doing
> 'xm
> destroy', right? That's the first thing to track down.
> 

I just ran xend with 'xend start_trace' and wow... a lot of logging! :)

When I start another domain (secondary smtp server running linux), and
then issue a shutdown in it, nothing gets logged at all in the xend
trace. Should 'xend start_trace' log some activity if a domain dies, if
all was working well? (eg would xend be the process to do the cleanup
etc or does that all happen in xenstored?)

The domain just sticks in the 's' state until I 'xm destroy' it, then it
disappears from 'xm list' but is still using resources in 'xm debug q'.

James

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