Rainbows! Rack HTTP server user/dev discussion
 help / color / mirror / code / Atom feed
From: ghazel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
To: "Rainbows! list" <rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org>
Subject: Re: [ANN] Rainbows! 4.0.0 - MOAR concurrency for MOAR COARS
Date: Wed, 29 Jun 2011 00:16:26 -0700	[thread overview]
Message-ID: <BANLkTi=SRC7EvrA5tZcwJhwNKzgtyvz5mg@mail.gmail.com> (raw)
In-Reply-To: <20110629071101.GA8110-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>

On Wed, Jun 29, 2011 at 12:11 AM, Eric Wong <normalperson@yhbt.net> wrote:
> ghazel@gmail.com wrote:
>> On Mon, Jun 27, 2011 at 2:45 AM, Eric Wong <normalperson@yhbt.net> wrote:
>> > Changes:
>> >
>> > Rainbows! now scales to more than 1024 worker processes without
>> > special privileges.  To enable this, Rainbows! now depends on
>> > Unicorn 4.x and thus raindrops[1].
>>
>> I can't seem to upgrade from rainbows-3.4.0 to rainbows-4.0.0. I see:
>>
>> #<NoMethodError: undefined method `expand_addr' for nil:NilClass>
>
> That's odd, what configuration options and Ruby version are you
> using?  Are you using a per-worker listen socket?

REE 1.8.7

Hopefully relevant config:

use :ThreadSpawn
...

listen "/tmp/rainbows.sock", :backlog => 2048
listen 8998, :tcp_nopush => true
...
after_fork do |server, worker|
  # per-process listener ports for debugging/admin/migrations
  addr = "127.0.0.1:#{9100 + worker.nr}"
  server.listen(addr, :tries => -1, :delay => 5, :tcp_nopush => true)

-Greg
_______________________________________________
Rainbows! mailing list - rainbows-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/rainbows-talk
Do not quote signatures (like this one) or top post when replying

  parent reply	other threads:[~2011-06-29  7:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-27  9:45 [ANN] Rainbows! 4.0.0 - MOAR concurrency for MOAR COARS Eric Wong
     [not found] ` <20110627094517.GA27156-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
2011-06-29  6:36   ` ghazel-Re5JQEeQqe8AvxtiuMwx3w
     [not found]     ` <BANLkTi=oQXK5Casq9SuGD3edeUrDPvRm3A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-06-29  7:11       ` Eric Wong
     [not found]         ` <20110629071101.GA8110-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
2011-06-29  7:16           ` ghazel-Re5JQEeQqe8AvxtiuMwx3w [this message]
     [not found]             ` <BANLkTi=SRC7EvrA5tZcwJhwNKzgtyvz5mg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-06-29  7:31               ` Eric Wong
     [not found]                 ` <20110629073103.GB10100-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
2011-06-29  7:47                   ` ghazel-Re5JQEeQqe8AvxtiuMwx3w
2011-06-29  7:19           ` Eric Wong

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/rainbows/

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

  git send-email \
    --in-reply-to='BANLkTi=SRC7EvrA5tZcwJhwNKzgtyvz5mg@mail.gmail.com' \
    --to=ghazel-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.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/rainbows.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).