[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.