All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ewan Mellor <ewan@xensource.com>
To: Matt Ayres <matta@tektonic.net>
Cc: xen-devel@lists.xensource.com
Subject: Re: Bug: xm commands hanging due to poor threading in xend
Date: Mon, 23 Jan 2006 12:09:24 -0800	[thread overview]
Message-ID: <20060123200924.GD3083@localhost.localdomain> (raw)
In-Reply-To: <43D53278.5090407@tektonic.net>

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.

  parent reply	other threads:[~2006-01-23 20:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-21 19:19 Bug: xm commands hanging due to poor threading in xend Matt Ayres
2006-01-21 19:20 ` Matt Ayres
2006-01-23  3:59 ` Ewan Mellor
2006-01-23 19:46   ` Matt Ayres
2006-01-23 19:54     ` Matt Ayres
2006-01-24 18:11       ` Matt Ayres
2006-01-23 20:09     ` Ewan Mellor [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-01-22  0:05 James Harper
2006-01-23 19:57 Ian Pratt
2006-01-23 20:23 ` Matt Ayres

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060123200924.GD3083@localhost.localdomain \
    --to=ewan@xensource.com \
    --cc=matta@tektonic.net \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.