Kouya Shimura
2009-Apr-15 07:24 UTC
[Xen-devel] [PATCH] xend: fix avoidance to restart domain on crash
If a qemu-dm dies immediately (probably by wrong setting), xend repeats to restart a domain so many times. That causes system overload. There is already a logic to avoid too early restarting, however, it might not work. Since xenstore entry ''xend/previous_restart_time'' is volatile. XendDomainInfo.destroy() which removes the entry from xenstore is called in some places. Also, this patch prevents too early restarting even at the first domain creation. Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
John Levon
2009-Apr-15 08:49 UTC
Re: [Xen-devel] [PATCH] xend: fix avoidance to restart domain on crash
On Wed, Apr 15, 2009 at 04:24:12PM +0900, Kouya Shimura wrote:> Also, this patch prevents too early restarting even at the first > domain creation.This looks fine, but I''m bemused why you and Ian Jackson saw this behaviour, and it all worked perfectly for me. Indeed, I even coded up something very like your fix before I found the original worked just fine for me. regards john _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel