From: John Levon Subject: Re: xenstored misaccounting resource limits Date: Wed, 23 May 2007 14:01:43 +0100 Message-ID: <20070523130143.GA9786@totally.trollied.org.uk> References: <20070523024610.GA16190@totally.trollied.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com, max.zhen@sun.com List-Id: xen-devel@lists.xenproject.org On Wed, May 23, 2007 at 09:20:59AM +0100, Keir Fraser wrote: > > Currently xenstored does not account domain->nbentry when a transaction > > is aborted (either intentionally or via EAGAIN). We hit this case when > > adding a lot of disks to a domU: the limit is reached much earlier than > > expected, as a number of clashing transactions cause incorrect inflation > > of the value of ->nbentry. > > > > There's been a little discussion internally on the nicest way to fix > > this. My current suggestion is along the lines of: > > The principle is clearly right, but domain_nbcount[] isn't a great idea That was shorthand, we'd keep a list. john