From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ewan Mellor Subject: Re: Bug: xm commands hanging due to poor threading in xend Date: Mon, 23 Jan 2006 12:09:24 -0800 Message-ID: <20060123200924.GD3083@localhost.localdomain> References: <43D28927.8060803@tektonic.net> <20060123035932.GA28166@localhost.localdomain> <43D53278.5090407@tektonic.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <43D53278.5090407@tektonic.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Matt Ayres Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Mon, Jan 23, 2006 at 02:46:00PM -0500, Matt Ayres wrote: > I went ahead and did find some problems. On a server up with 10 days > some processes (mysql/httpd) in dom0 were stressed. Swap was 50% in > use. I have put in memory minimizing config files for both of these > apps. File descriptors is still high even after restart most all > services on the server with the higher uptime. I can also try > increasing dom0 memory to 512MB or so. > > I did 128MB for dom0 with 2.0 and increased this to 256MB with 3.0 > because all my hosts can now access their full 8GB. > > 10 day uptime host: > # lsof -n | wc -l > 2775 > # free > total used free shared buffers cached > Mem: 262544 218040 44504 0 21300 55592 > -/+ buffers/cache: 141148 121396 > Swap: 522104 35944 486160 > > 2 day uptime host: > # lsof -n | wc -l > 1420 > # free > total used free shared buffers cached > Mem: 262544 252076 10468 0 28432 85264 > -/+ buffers/cache: 138380 124164 > Swap: 522104 3928 518176 And who owns the 1000 extra fds? An extra 40MB in use isn't too scary -- that could just be caching inside your MySQL, for example, but an extra 1000 fds is certainly a problem. I believe there is a per-process 1024 fd limit on some systems. Ewan.