Displaying 1 result from an estimated 1 matches for "web_concurrency".
2013 May 25
1
Silent Failure when starting Unicorn on Heroku
...or/bundle/ruby/1.9.1/bin/unicorn:19:in `<main>''
Process exited with status 1
State changed from starting to crashed
Procfile:
web: bundle exec unicorn start -p $PORT -c ./config/unicorn.rb
sidekiq: bundle exec sidekiq -c 10
unicorn.rb:
worker_processes Integer(ENV["WEB_CONCURRENCY"] || 3)
timeout 15
preload_app true
before_fork do |server, worker|
Signal.trap ''TERM'' do
puts ''Unicorn master intercepting TERM and sending myself QUIT
instead''
Process.kill ''QUIT'', Process.pid
end...