WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Bug: xm commands hanging due to poor threading in xend

To: Matt Ayres <matta@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Bug: xm commands hanging due to poor threading in xend
From: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Date: Mon, 23 Jan 2006 12:09:24 -0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 23 Jan 2006 20:17:52 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <43D53278.5090407@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <43D28927.8060803@xxxxxxxxxxxx> <20060123035932.GA28166@xxxxxxxxxxxxxxxxxxxxx> <43D53278.5090407@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
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.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel