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

[Xen-tools] Re: [PATCH] Make daemons more robust



On Tue, Aug 09, 2005 at 10:24:00PM -0500, Anthony Liguori wrote:
> Rusty and I have been working on making the daemon startup be more 
> robust so we don't have the previous timing issues from daemons 
> depending on other daemons.

Thanks!  I've applied it.  Any reason why we actually need to kill
xcs on xend stop?  I'd much prefer my consoles to stay connected
while I restart xend...

    christian

> The following patch fixes the xend start 
> issues (where xenstored comes up after xenconsoled) and the xend restart 
> issues (where xenstored becomes unresponsive or has multiple instances 
> running).  This also fixes the end-user problems of xm console not 
> working or xend [re]start spitting out an infinite loop of error messages.
> 
> The patch implements the following changes:
> 
> 1) make xenconsoled exit gracefully if xcs dies
> 2) daemonize xenstored before binding to xenstored socket
> 3) wait to close stdio in xenstored until we're ready to accept 
> connections (so that PID=`xenstored --output-pid` doesn't return until 
> it's ready to accept connections)
> 4) updates tools/misc/xend for these changes
> 
> Signed-off-by: Anthony Liguori <aliguori@xxxxxxxxxx>
> Signed-off-by: Rusty Russell <rusty@xxxxxxxxxxxxxxxx>
> 
> Regards,
> 
> Anthony Liguori



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


 


Rackspace

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