From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS14383 205.234.109.0/24 X-Spam-Status: No, score=-0.5 required=5.0 tests=AWL,MSGID_FROM_MTA_HEADER, RP_MATCHES_RCVD shortcircuit=no autolearn=unavailable version=3.3.2 Path: news.gmane.org!not-for-mail From: Eric Wong Newsgroups: gmane.comp.lang.ruby.unicorn.general Subject: Re: multi server failover setup Date: Mon, 26 Oct 2009 14:42:54 -0700 Message-ID: <20091026214253.GA23833@dcvr.yhbt.net> References: <8b73aaca0910261242r6323f664s46536567f584d8d0@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1256593411 12923 80.91.229.12 (26 Oct 2009 21:43:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Oct 2009 21:43:31 +0000 (UTC) To: unicorn list Original-X-From: mongrel-unicorn-bounces@rubyforge.org Mon Oct 26 22:43:24 2009 Return-path: Envelope-to: gclrug-mongrel-unicorn@m.gmane.org X-Original-To: mongrel-unicorn@rubyforge.org Delivered-To: mongrel-unicorn@rubyforge.org Content-Disposition: inline In-Reply-To: <8b73aaca0910261242r6323f664s46536567f584d8d0@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-BeenThere: mongrel-unicorn@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: mongrel-unicorn-bounces@rubyforge.org Errors-To: mongrel-unicorn-bounces@rubyforge.org Xref: news.gmane.org gmane.comp.lang.ruby.unicorn.general:112 Archived-At: Received: from rubyforge.org ([205.234.109.19]) by lo.gmane.org with esmtp (Exim 4.50) id 1N2XLY-0001v6-4m for gclrug-mongrel-unicorn@m.gmane.org; Mon, 26 Oct 2009 22:43:24 +0100 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 78C7916782B0; Mon, 26 Oct 2009 17:43:23 -0400 (EDT) Received: from dcvr.yhbt.net (dcvr.yhbt.net [64.71.152.64]) by rubyforge.org (Postfix) with ESMTP id DB5D9159803F for ; Mon, 26 Oct 2009 17:42:54 -0400 (EDT) Received: from localhost (dcvr.yhbt.net [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPSA id 5EFBE1F5F7; Mon, 26 Oct 2009 21:42:54 +0000 (UTC) Chris Wanstrath wrote: > On Mon, Oct 26, 2009 at 12:34 PM, Dylan Stamat wrot= e: > > I noticed that Mr. Wanstrath is using UDS in his deployment here: > > =A0http://github.com/blog/517-unicorn > > Wondering if they're running with the same or similar strategy as your > > suggestion? > = > We're currently not using this strategy. Perhaps in the future, but > currently we're still trying to completely isolate the various > services within our app - when nginx or Unicorn chokes presently, they > all do. Once that's fixed we'll begin looking into this or something > similar. By Unicorn choking you mean something in your app chokes, right? :) Is this something adding fail_timeout=3D0 in nginx can fix/workaround? Not sure where nginx itself would choke besides uncached disk reads or somehow writing a lot of logs. That said I myself haven't gotten a chance to test that setup I proposed for a while (except the nginx fail_timeout=3D0 part, I've gotten folks running with that for ages now). -- = Eric Wong