unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* What does it mean for the unicorn process to be bound to a terminal?
@ 2013-11-26 13:30 Rodrigo Rosenfeld Rosas
  2013-11-26 18:04 ` Eric Wong
  0 siblings, 1 reply; 6+ messages in thread
From: Rodrigo Rosenfeld Rosas @ 2013-11-26 13:30 UTC (permalink / raw)
  To: mongrel-unicorn

For a long time I struggle to understand this part:

http://unicorn.bogomips.org/SIGNALS.html

"3. You can now send WINCH to the old master process so only the new 
workers serve requests. If your unicorn process is bound to an 
interactive terminal, you can skip this step."

I asked a teammate and he didn't understand this part either, so maybe 
it's confusing for other people too.

Would you mind to clarify what you mean by that?

Also, a section with suggestions on how to properly automate a 
deployment with no downtime would be helpful.

What I see is that most recipes, like the ones I've seen for Capistrano 
for example, will simply send a QUIT after USR2 to the old master 
without actually checking if the deploy was successful and won't use the 
WINCH and HUP signals to deal with health checking...

Cheers,
Rodrigo.

_______________________________________________
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] 6+ messages in thread

end of thread, other threads:[~2013-11-28 13:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-26 13:30 What does it mean for the unicorn process to be bound to a terminal? Rodrigo Rosenfeld Rosas
2013-11-26 18:04 ` Eric Wong
2013-11-26 18:35   ` Rodrigo Rosenfeld Rosas
2013-11-26 19:14     ` Michael Fischer
2013-11-28 13:52       ` Pierre Baillet
2013-11-26 19:21     ` Eric Wong

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).