[ANN] Rainbows! 4.0.0 - MOAR concurrency for MOAR COARS

ghazel at gmail.com ghazel at gmail.com
Wed Jun 29 03:16:26 EDT 2011


On Wed, Jun 29, 2011 at 12:11 AM, Eric Wong <normalperson at yhbt.net> wrote:
> ghazel at gmail.com wrote:
>> On Mon, Jun 27, 2011 at 2:45 AM, Eric Wong <normalperson at 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


More information about the rainbows-talk mailing list