[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] Fix closing of /var/log/xend.log fd


  • To: Jeremy Katz <katzj@xxxxxxxxxx>
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.