From: Tim Post Subject: Re: Is it possible to access XenStore remotely? Date: Tue, 25 Aug 2009 14:38:35 +0800 Message-ID: <1251182315.5532.127.camel@localhost.localdomain> References: <4A8D1650.4040902@eu.citrix.com> <1251118999.5532.84.camel@localhost.localdomain> <19090.47695.114710.46450@mariner.uk.xensource.com> Reply-To: echo@echoreply.us Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <19090.47695.114710.46450@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Jackson Cc: weiming , "xen-devel@lists.xensource.com" , Vincent Hanquez , "xen-api@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Ian, On Mon, 2009-08-24 at 17:05 +0100, Ian Jackson wrote: > Tim Post writes ("Re: [Xen-devel] Is it possible to access XenStore remotely?"): > > I would warn you, XenStore is fragile and often fickle, I've crashed it > > many times within a guest while working on split drivers for various > > character devices. > > If xenstored can be crashed then we should fix it. Can you remember > any of the things which caused it to fall over ? Mostly, it was run away writers caught in a brain dead loop. It was not difficult to DoS the store from within a guest accidentally or deliberately. I also remember using watches on a single key that changed frequently without using xs_read_watch() since I already knew what fired, that caused a total crash of xenstored. I've also had xs_transaction_end() return -EAGAIN frequently on busy systems. The ocaml version of xenstored is much more resilient to abuse, be it accidental or deliberate. Cheers, --Tim -- Monkey + Typewriter = Echoreply ( http://echoreply.us )