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@redhat.com> Jeremy _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Christian Limpach
2005-Sep-01 10:26 UTC
Re: [Xen-devel] [PATCH] Fix closing of /var/log/xend.log fd
Thanks! On 9/1/05, Jeremy Katz <katzj@redhat.com> 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@redhat.com> > > Jeremy > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > > > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel