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

Re: [Xen-devel] "xm save" trouble -- deadlock?



  Hi,

The code that does this is in XendCheckpoint.py:forkHelper.  It's using
select.poll() and file.readline() to read from both the stdout and the
stderr.  This is a pretty daft thing to do -- there's definitely potential for
deadlock here.
>
I'll rewrite this to use a separate thread to pull the data from stderr, which
should solve the problem.

Should be fixable without a new thread, I'll have a look. log.debug("stuff") ends up in /var/log/xend.log I guess?

  Gerd


_______________________________________________
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®.