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.7 required=5.0 tests=MSGID_FROM_MTA_HEADER, RP_MATCHES_RCVD shortcircuit=no autolearn=unavailable version=3.3.2 Path: news.gmane.org!not-for-mail From: Pierre Newsgroups: gmane.comp.lang.ruby.unicorn.general Subject: Re: Unicorn and HAProxy, 500 Internal errors after checks Date: Wed, 1 Dec 2010 18:14:37 +0100 Message-ID: References: <20101201165207.GC12001@dcvr.yhbt.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1291224058 17119 80.91.229.12 (1 Dec 2010 17:20:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 1 Dec 2010 17:20:58 +0000 (UTC) To: unicorn list Original-X-From: mongrel-unicorn-bounces@rubyforge.org Wed Dec 01 18:20:52 2010 Return-path: Envelope-to: gclrug-mongrel-unicorn@m.gmane.org X-Original-To: mongrel-unicorn@rubyforge.org Delivered-To: mongrel-unicorn@rubyforge.org In-Reply-To: <20101201165207.GC12001@dcvr.yhbt.net> 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:771 Archived-At: Received: from rubyforge.org ([205.234.109.19]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PNqMM-00062f-Eu for gclrug-mongrel-unicorn@m.gmane.org; Wed, 01 Dec 2010 18:20:50 +0100 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 8D1621858378; Wed, 1 Dec 2010 12:20:47 -0500 (EST) Received: from exprod7og105.obsmtp.com (exprod7og105.obsmtp.com [64.18.2.163]) by rubyforge.org (Postfix) with SMTP id 3B613185831A for ; Wed, 1 Dec 2010 12:14:41 -0500 (EST) Received: from source ([209.85.215.45]) by exprod7ob105.postini.com ([64.18.6.12]) with SMTP ID DSNKTPaCfsZbuXFDGtW3Aq0v2vOUDtx4IcIM@postini.com; Wed, 01 Dec 2010 09:14:41 PST Received: by ewy10 with SMTP id 10so4000675ewy.4 for ; Wed, 01 Dec 2010 09:14:37 -0800 (PST) Received: by 10.14.48.78 with SMTP id u54mr7692947eeb.8.1291223677229; Wed, 01 Dec 2010 09:14:37 -0800 (PST) Received: by 10.14.126.20 with HTTP; Wed, 1 Dec 2010 09:14:37 -0800 (PST) Dear Eric, On Wed, Dec 1, 2010 at 5:52 PM, Eric Wong wrote: > Hi Pierre, HAProxy should be configured to send proper HTTP checks and > not just TCP connection checks, the problem will go away then. I understood this could be fixed this way and we will probably do that soon. However, I think this is also the responsibility of Unicorn not to reply anything when there's no request or at least log the error somewhere :) > Also, I > can not recommend HAProxy unless you're certain all your clients are on > a LAN and can be trusted to never trickle uploads nor reading large > responses. While I understand that uploads are very complicated to handle on the stack (even nginx can be confused at upload sometimes), HAProxy proved it was very good at managing tons of connections and high volume traffic from the Internet. All the more so as it allows a very high level of redundancy at a very small cost that cannot be achieved simply otherwise. Do you have any pointers about your worrying non-recommendation of HAProxy ? As far as I'm concerned, I've used HAProxy in worldwide web context of website serving up to 25 Millions pages with no problem, ever. Thanks again for your support, :) -- Pierre Server Shepherd at http://www.fotopedia.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