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] [PATCH] Fix closing of /var/log/xend.log fd

To: Jeremy Katz <katzj@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Fix closing of /var/log/xend.log fd
From: Christian Limpach <christian.limpach@xxxxxxxxx>
Date: Thu, 1 Sep 2005 11:26:27 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 01 Sep 2005 10:24:27 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=eCd3nBi2eWqJt33rTMJff2O7mukp4xXwDnlr1CjMlx23qU7UiibtSS/DUrmu4z2T6sVSsyyZR2N/D38jev8x0ux1UUjbeSrmGQhUK6V3TWk+x/bRG+3sGrdeh8mCJna/f1q8Mq0e9jLtkTk/cMDSYW0lvy+AoFe6h/LdL4+PyGo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1125547393.2569.90.camel@xxxxxxxxxxxxxx>
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: <1125547393.2569.90.camel@xxxxxxxxxxxxxx>
Reply-to: Christian.Limpach@xxxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thanks!

On 9/1/05, Jeremy Katz <katzj@xxxxxxxxxx> wrote:
> The attached patch fixes the problem where /var/log/xend.log was getting
> closed and then /var/log/xend-debug was getting all the spam about the
> fd being closed in the logging stuff.
> 
> Basically what was happening is that the main thread wasn't sticking
> around and during its exit, the atexit handlers of the python logging
> stuff got called closing the log fd.
> 
> Patch makes it so that we instead wait on the real server threads to
> exit before shutting things down.
> 
> Signed-off-by: Jeremy Katz <katzj@xxxxxxxxxx>
> 
> Jeremy
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
> 
> 
> 
>

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

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