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: Eric Wong Newsgroups: gmane.comp.lang.ruby.unicorn.general Subject: Re: Unicorn Date: Mon, 6 Jul 2009 16:16:46 -0700 Message-ID: <20090706231646.GA22306@dcvr.yhbt.net> References: <218F5913-4D49-4F6C-B334-CF264120D61A@sponagl.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1246922222 31972 80.91.229.12 (6 Jul 2009 23:17:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 6 Jul 2009 23:17:02 +0000 (UTC) Cc: mongrel-unicorn@rubyforge.org To: Paul Sponagl Original-X-From: mongrel-unicorn-bounces@rubyforge.org Tue Jul 07 01:16:55 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: <218F5913-4D49-4F6C-B334-CF264120D61A@sponagl.de> 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:3 Archived-At: Received: from rubyforge.org ([205.234.109.19]) by lo.gmane.org with esmtp (Exim 4.50) id 1MNxQY-0006tO-7E for gclrug-mongrel-unicorn@m.gmane.org; Tue, 07 Jul 2009 01:16:50 +0200 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 6A92E16782A1; Mon, 6 Jul 2009 19:16:49 -0400 (EDT) Received: from dcvr.yhbt.net (dcvr.yhbt.net [64.71.152.64]) by rubyforge.org (Postfix) with ESMTP id 97B1316782A1 for ; Mon, 6 Jul 2009 19:16:47 -0400 (EDT) Received: from localhost (unknown [12.186.229.34]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPSA id 07320113077; Mon, 6 Jul 2009 23:16:46 +0000 (UTC) Paul Sponagl wrote: > Hi Eric, > > the Featurelist sounds great ! > > I was using qrp for a long time and now i am eagerly awaiting a > production ready release of unicorn :) > > Btw. I tried it on OS-X with -l /tmp/thin.0.sock and it took a while for > nginx to spit out the page... > > ... (60: Operation timed out) while reading upstream, client: 127.0.0.1, > server: w..., request: "GET / HTTP/1.1", upstream: "http://unix > :/tmp/thin.0.sock:/" ... > > but finally it appeared (for now it is not development ready for me ;) > But this evening i'll give it a try with tcp sockets. Weird. I'm doubtful TCP sockets would solve your problems but let me know if it fixes it. UNIX and TCP sockets follow exactly the same code paths once the server is running so I'm not sure what could be the issue (especially since you're sending a body-less GET request). Maybe OSX has some weird rules/bugs with UNIX sockets (I've heard of issues with FIFOs on OSX), but I don't have access to an OSX machine. Is your "GET / HTTP/1.1" request supposed to be taking over 60s? 60 seconds is the default (and IMHO very conservative) timeout for when Unicorn decides to terminate a request. 0.8.1 should actually be considered production-ready. It doesn't support chunked transfer-encoding; but otherwise it's been running fine for some internal APIs for quite a while now. > thank you for your efforts in this great project and all the best Thanks for giving it a shot! -- Eric Wong