From: Eric Wong <normalperson@yhbt.net>
To: unicorn list <mongrel-unicorn@rubyforge.org>
Subject: Re: Request queue length
Date: Sat, 26 Feb 2011 20:40:00 +0000 [thread overview]
Message-ID: <20110226204000.GA6042@dcvr.yhbt.net> (raw)
In-Reply-To: <4D68FC47.7050606@mrtech.ru>
Troex Nevelin <list@mrtech.ru> wrote:
> We've moved to unicorn and I embeded Raindrops as middleware into our
> rails app, now I'm able to get some stats using /_raindrops url:
> http://www.kinokopilka.tv/_raindrops
>
> calling: 4
This is the number of application dispatchers running.
Should always be <= worker_processes.
> writing: 174
This is the number of clients being written to. Make sure
Raindrops::Middleware is at the outermost/topmost layer of your
middleware stack (top of config.ru). Some other middlewares may
clobber/ignore the #close method. You should probably contact the
middleware authors and make sure they properly proxy response bodies
that require a close.
Normally, (calling + writing) <= Unicorn worker_processes
> /var/www/kk/current/tmp/sockets/unicorn.sock active: 5
> /var/www/kk/current/tmp/sockets/unicorn.sock queued: 0
>
> The last 2 lines I undersand, that is what I wanted to get. But what
> about 'calling' and 'writing', what does these numbers says?
_______________________________________________
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
prev parent reply other threads:[~2011-02-26 20:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-06 14:03 Request queue length Troex Nevelin
2011-02-06 19:02 ` Eric Wong
2011-02-11 19:52 ` Troex Nevelin
2011-02-11 21:20 ` Eric Wong
2011-02-12 15:58 ` Troex Nevelin
2011-02-26 13:12 ` Troex Nevelin
2011-02-26 20:40 ` Eric Wong [this message]
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=20110226204000.GA6042@dcvr.yhbt.net \
--to=normalperson@yhbt.net \
--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).