unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Ben Somers <somers.ben@gmail.com>
To: mongrel-unicorn <mongrel-unicorn@rubyforge.org>
Subject: Virtual Memory Usage
Date: Thu, 10 Nov 2011 15:07:51 -0800	[thread overview]
Message-ID: <CAO1NZAoD3-MEPp14S3VBVGfr6abFqcL4CHBsA1PpctN2mv=iTw@mail.gmail.com> (raw)

Hi,

I've been testing unicorn as a replacement for passenger in my
company's Rails apps, and generally am very much liking it, and will
probably go through with the switch (our deployment times are killing
us). I've been running tests on with jmeter against a demo EC2
m1.xlarge running Ubuntu 9.10 (yes, we know it's out od date), with
15GB RAM, 4x2GHz CPU.

The server is behaving fine, with most of the unicorn workers sitting
at about 280MB resident memory, comparable to passenger's workers. But
I've been testing how many workers to run with, and I've noticed that
once I get above three workers, a couple of them get ballooning
virtual memory, jumping up to a little over 2GB. I initially thought
that the server was overloaded and swapping, but swap usage is still
0, and I get this behavior at over 50% free memory. It doesn't seem to
be causing performance problems, but I was wondering if anyone else
has observed this or similar behavior? I'm trying to decide if it's
normal or an item for concern.

-ben
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying

             reply	other threads:[~2011-11-10 23:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-10 23:07 Ben Somers [this message]
2011-11-10 23:50 ` Virtual Memory Usage Eric Wong
2011-11-12  0:13   ` Ben Somers

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

  List information: https://yhbt.net/unicorn/

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

  git send-email \
    --in-reply-to='CAO1NZAoD3-MEPp14S3VBVGfr6abFqcL4CHBsA1PpctN2mv=iTw@mail.gmail.com' \
    --to=somers.ben@gmail.com \
    --cc=mongrel-unicorn@rubyforge.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://yhbt.net/unicorn.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).