Rainbows! Rack HTTP server user/dev discussion
 help / color / mirror / code / Atom feed
From: Patrick Hanevold <patrick-rCoryE6l9AakgyF2CNKXmw@public.gmane.org>
To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org
Subject: BUG: HUP signal reloads config, but gives RuntimeError - Application has already initialized
Date: Wed, 4 Sep 2013 13:59:09 +0200	[thread overview]
Message-ID: <410FB453-44E7-4F7D-BC29-4AA36A0C412C@teknobingo.no> (raw)


Why aren't you guys on github?

environment.rb line 5 initializes the application.

I, [2013-09-04T13:53:52.023134 #7953]  INFO -- : reloading config_file=/home/capistrano/sites/fargekladden/current/config/rainbows.rb
I, [2013-09-04T13:53:52.192878 #7953]  INFO -- : Refreshing Gem list
E, [2013-09-04T13:53:52.193995 #7953] ERROR -- : error reloading config_file=/home/capistrano/sites/fargekladden/current/config/rainbows.rb: Application has been already initialized. (RuntimeError)
E, [2013-09-04T13:53:52.196955 #7953] ERROR -- : /home/capistrano/sites/fargekladden/shared/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/application.rb:214:in `initialize!'
E, [2013-09-04T13:53:52.197116 #7953] ERROR -- : /home/capistrano/sites/fargekladden/shared/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/railtie/configurable.rb:30:in `method_missing'
E, [2013-09-04T13:53:52.197295 #7953] ERROR -- : /home/capistrano/sites/fargekladden/releases/20130904115254/config/environment.rb:5:in `<top (required)>'
E, [2013-09-04T13:53:52.200897 #7953] ERROR -- : /home/capistrano/sites/fargekladden/shared/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require'
E, [2013-09-04T13:53:52.201088 #7953] ERROR -- : /home/capistrano/sites/fargekladden/shared/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `block in require'
E, [2013-09-04T13:53:52.201231 #7953] ERROR -- : /home/capistrano/sites/fargekladden/shared/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:213:in `load_dependency'
E, [2013-09-04T13:53:52.201369 #7953] ERROR -- : /home/capistrano/sites/fargekladden/shared/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require'
E, [2013-09-04T13:53:52.201505 #7953] ERROR -- : config.ru:4:in `block in <main>'
E, [2013-09-04T13:53:52.201637 #7953] ERROR -- : /home/capistrano/sites/fargekladden/shared/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval'
E, [2013-09-04T13:53:52.204911 #7953] ERROR -- : /home/capistrano/sites/fargekladden/shared/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize'
E, [2013-09-04T13:53:52.212898 #7953] ERROR -- : config.ru:1:in `new'
E, [2013-09-04T13:53:52.220887 #7953] ERROR -- : config.ru:1:in `<main>'
E, [2013-09-04T13:53:52.221056 #7953] ERROR -- : /home/capistrano/sites/fargekladden/shared/bundle/ruby/2.0.0/gems/unicorn-4.6.3/lib/unicorn.rb:48:in `eval'
E, [2013-09-04T13:53:52.224886 #7953] ERROR -- : /home/capistrano/sites/fargekladden/shared/bundle/ruby/2.0.0/gems/unicorn-4.6.3/lib/unicorn.rb:48:in `block in builder'
E, [2013-09-04T13:53:52.225050 #7953] ERROR -- : /home/capistrano/sites/fargekladden/shared/bundle/ruby/2.0.0/gems/unicorn-4.6.3/lib/unicorn/http_server.rb:722:in `call'
E, [2013-09-04T13:53:52.228917 #7953] ERROR -- : /home/capistrano/sites/fargekladden/shared/bundle/ruby/2.0.0/gems/unicorn-4.6.3/lib/unicorn/http_server.rb:722:in `build_app!'
E, [2013-09-04T13:53:52.229112 #7953] ERROR -- : /home/capistrano/sites/fargekladden/shared/bundle/ruby/2.0.0/gems/unicorn-4.6.3/lib/unicorn/http_server.rb:703:in `load_config!'
E, [2013-09-04T13:53:52.232887 #7953] ERROR -- : /home/capistrano/sites/fargekladden/shared/bundle/ruby/2.0.0/gems/rainbows-4.5.0/lib/rainbows/http_server.rb:36:in `load_config!'
E, [2013-09-04T13:53:52.233053 #7953] ERROR -- : /home/capistrano/sites/fargekladden/shared/bundle/ruby/2.0.0/gems/unicorn-4.6.3/lib/unicorn/http_server.rb:308:in `join'
E, [2013-09-04T13:53:52.233191 #7953] ERROR -- : /home/capistrano/sites/fargekladden/shared/bundle/ruby/2.0.0/gems/rainbows-4.5.0/bin/rainbows:127:in `<top (required)>'
E, [2013-09-04T13:53:52.236910 #7953] ERROR -- : /home/capistrano/sites/fargekladden/shared/bundle/ruby/2.0.0/bin/rainbows:23:in `load'
E, [2013-09-04T13:53:52.237101 #7953] ERROR -- : /home/capistrano/sites/fargekladden/shared/bundle/ruby/2.0.0/bin/rainbows:23:in `<main>'
I, [2013-09-04T13:53:53.233967 #7953]  INFO -- : reaped #<Process::Status: pid 9788 exit 0> worker=13
I, [2013-09-04T13:53:53.241725 #7953]  INFO -- : reaped #<Process::Status: pid 9782 exit 0> worker=10
I, [2013-09-04T13:53:53.241973 #7953]  INFO -- : reaped #<Process::Status: pid 9785 exit 0> worker=15
I, [2013-09-04T13:53:53.242136 #7953]  INFO -- : reaped #<Process::Status: pid 9794 exit 0> worker=9
I, [2013-09-04T13:53:53.242266 #7953]  INFO -- : reaped #<Process::Status: pid 9797 exit 0> worker=4
I, [2013-09-04T13:53:53.242386 #7953]  INFO -- : reaped #<Process::Status: pid 9801 exit 0> worker=14
I, [2013-09-04T13:53:53.242513 #7953]  INFO -- : reaped #<Process::Status: pid 9804 exit 0> worker=1
I, [2013-09-04T13:53:53.289027 #7953]  INFO -- : reaped #<Process::Status: pid 9776 exit 0> worker=0
I, [2013-09-04T13:53:53.289304 #7953]  INFO -- : reaped #<Process::Status: pid 9778 exit 0> worker=3
I, [2013-09-04T13:53:53.289430 #7953]  INFO -- : reaped #<Process::Status: pid 9791 exit 0> worker=2
I, [2013-09-04T13:53:53.289549 #7953]  INFO -- : reaped #<Process::Status: pid 9807 exit 0> worker=5
I, [2013-09-04T13:53:53.289696 #7953]  INFO -- : reaped #<Process::Status: pid 9809 exit 0> worker=11
I, [2013-09-04T13:53:53.302644 #10127]  INFO -- : Rainbows! FiberSpawn worker_connections=1024
I, [2013-09-04T13:53:53.312138 #10137]  INFO -- : Rainbows! FiberSpawn worker_connections=1024
I, [2013-09-04T13:53:53.314065 #10125]  INFO -- : Rainbows! FiberSpawn worker_connections=1024
I, [2013-09-04T13:53:53.327301 #10130]  INFO -- : Rainbows! FiberSpawn worker_connections=1024
I, [2013-09-04T13:53:53.337172 #10134]  INFO -- : Rainbows! FiberSpawn worker_connections=1024
I, [2013-09-04T13:53:53.342216 #10140]  INFO -- : Rainbows! FiberSpawn worker_connections=1024
I, [2013-09-04T13:53:53.345074 #7953]  INFO -- : reaped #<Process::Status: pid 9812 exit 0> worker=12
I, [2013-09-04T13:53:53.320694 #10143]  INFO -- : Rainbows! FiberSpawn worker_connections=1024
I, [2013-09-04T13:53:53.356184 #10152]  INFO -- : Rainbows! FiberSpawn worker_connections=1024
I, [2013-09-04T13:53:53.361563 #10146]  INFO -- : Rainbows! FiberSpawn worker_connections=1024
I, [2013-09-04T13:53:53.363115 #10149]  INFO -- : Rainbows! FiberSpawn worker_connections=1024
I, [2013-09-04T13:53:53.371039 #10155]  INFO -- : Rainbows! FiberSpawn worker_connections=1024
I, [2013-09-04T13:53:53.373356 #10158]  INFO -- : Rainbows! FiberSpawn worker_connections=1024
I, [2013-09-04T13:53:53.375670 #10161]  INFO -- : Rainbows! FiberSpawn worker_connections=1024


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


             reply	other threads:[~2013-09-04 12:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-04 11:59 Patrick Hanevold [this message]
     [not found] ` <410FB453-44E7-4F7D-BC29-4AA36A0C412C-rCoryE6l9AakgyF2CNKXmw@public.gmane.org>
2013-09-04 17:21   ` BUG: HUP signal reloads config, but gives RuntimeError - Application has already initialized 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=410FB453-44E7-4F7D-BC29-4AA36A0C412C@teknobingo.no \
    --to=patrick-rcorye6l9aakgyf2cnkxmw@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).