* Running unicorn gracefully on Heroku
@ 2012-03-07 16:49 Seamus Abshere
2012-03-07 20:22 ` Eric Wong
0 siblings, 1 reply; 4+ messages in thread
From: Seamus Abshere @ 2012-03-07 16:49 UTC (permalink / raw)
To: mongrel-unicorn
hi,
I just posted a StackOverflow question about running unicorn gracefully
on Heroku...
http://stackoverflow.com/questions/9605703/how-can-i-tell-unicorn-to-understand-herokus-signals
Would this group be able to provide any wisdom?
Thank you.
Best,
Seamus
PS. Please CC: me on any responses!
--
Seamus Abshere
_______________________________________________
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Running unicorn gracefully on Heroku
2012-03-07 16:49 Running unicorn gracefully on Heroku Seamus Abshere
@ 2012-03-07 20:22 ` Eric Wong
2012-03-07 21:27 ` Alex Sharp
0 siblings, 1 reply; 4+ messages in thread
From: Eric Wong @ 2012-03-07 20:22 UTC (permalink / raw)
To: unicorn list; +Cc: Seamus Abshere
Seamus Abshere <seamus@abshere.net> wrote:
> I just posted a StackOverflow question about running unicorn
> gracefully on Heroku...
>
> http://stackoverflow.com/questions/9605703/how-can-i-tell-unicorn-to-understand-herokus-signals
Ugh, can you just send/copy the question over here next time so we don't
have to follow a link and parse out? Thanks.
> Would this group be able to provide any wisdom?
It's best to talk to the Heroku folks about this since it's their
service. Maybe some of them hang out on this ML...
> PS. Please CC: me on any responses!
Done, thanks for the heads up.
_______________________________________________
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Running unicorn gracefully on Heroku
2012-03-07 20:22 ` Eric Wong
@ 2012-03-07 21:27 ` Alex Sharp
2012-03-08 5:58 ` Jamie Wilkinson
0 siblings, 1 reply; 4+ messages in thread
From: Alex Sharp @ 2012-03-07 21:27 UTC (permalink / raw)
To: unicorn list; +Cc: Seamus Abshere
This guy seems to have figured it out: http://michaelvanrooijen.com/articles/2011/06/01-more-concurrency-on-a-single-heroku-dyno-with-the-new-celadon-cedar-stack/
--
Alex Sharp
Zaarly, Inc | @ajsharp | github.com/ajsharp | alexjsharp.com
_______________________________________________
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Running unicorn gracefully on Heroku
2012-03-07 21:27 ` Alex Sharp
@ 2012-03-08 5:58 ` Jamie Wilkinson
0 siblings, 0 replies; 4+ messages in thread
From: Jamie Wilkinson @ 2012-03-08 5:58 UTC (permalink / raw)
To: unicorn list; +Cc: Seamus Abshere
On Mar 7, 2012, at 1:27 PM, Alex Sharp wrote:
> This guy seems to have figured it out: http://michaelvanrooijen.com/articles/2011/06/01-more-concurrency-on-a-single-heroku-dyno-with-the-new-celadon-cedar-stack/
Yeah this works great, I've used it for all my Heroku rails apps without issue for a while now. You just put unicorn in your bundle, make a Procfile like
web: bundle exec unicorn -p $PORT -c ./config/unicorn.rb
and a config/unicorn.rb like
worker_processes 2
timeout 5 # Heroku timeout is 5s
Related: like this post[1] I'm also interested in a smarter way to trap Heroku's SIGINT restarts into a unicorn USR2-styl restart, so we can actually take advantage of unicorn. At high concurrency Heroku's "kill world" restarts cause a lot of errors.
[1] <http://stackoverflow.com/questions/9605703/how-can-i-tell-unicorn-to-understand-herokus-signals>
_______________________________________________
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-03-08 7:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-07 16:49 Running unicorn gracefully on Heroku Seamus Abshere
2012-03-07 20:22 ` Eric Wong
2012-03-07 21:27 ` Alex Sharp
2012-03-08 5:58 ` Jamie Wilkinson
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).