unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Eric Wong <normalperson@yhbt.net>
To: unicorn list <mongrel-unicorn@rubyforge.org>
Subject: Re: [ANN] unicorn 0.990.0 - inching towards 1.0
Date: Wed, 9 Jun 2010 11:22:45 -0700	[thread overview]
Message-ID: <20100609182245.GB8027@dcvr.yhbt.net> (raw)
In-Reply-To: <E4FB514D-0056-4D59-8DD3-2B8A33CACD56@simonov.me>

Alexander Simonov <alex@simonov.me> wrote:
> 
> Hello!
> 
> One question: it's a normal state if i start rails app without preload
> and after Gem.refresh all works go down by exception from Ge.refresh
> and master process all time trying reup they.  And it's go to
> recursion. I know it's issue of people who start app, but in any case
> it's must be exception for stop of master process. Is i check code
> when starts workers and if we have preload_app false method run
> build_app!.  If we have preload_app true - then we check it before
> start worker. 

Hi Alexander,

I hope I'm understanding you correctly, so you want the master process
to die if you've misdeployed or misconfigured your app?

This is one of those sharp edges of Unicorn that might be pointless
to protect against with preload_app=false...

The general rule is that you shouldn't be mucking around with Gem (or
any other library) installations on a production server unless you're
deploying.  And whenever you're deploying, you would always be checking
to see you've deployed correctly anyways, so you can detect any screwups
in the installation/deployment.

Let me know if that makes sense.

-- 
Eric Wong
_______________________________________________
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


  reply	other threads:[~2010-06-09 18:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-08  9:51 [ANN] unicorn 0.990.0 - inching towards 1.0 Eric Wong
2010-06-09  8:39 ` Alexander Simonov
2010-06-09 18:22   ` Eric Wong [this message]
2010-06-10  5:26     ` Alexander Simonov
2010-06-10  7:38       ` Eric Wong
2010-06-10  8:46         ` Alexander Simonov
2010-06-11  1:27           ` Eric Wong
2010-06-11 18:00             ` Alexander Simonov
2010-06-11 20:37 ` 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/unicorn/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100609182245.GB8027@dcvr.yhbt.net \
    --to=normalperson@yhbt.net \
    --cc=mongrel-unicorn@rubyforge.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/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).