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=1.0 required=3.0 tests=AWL,HK_RANDOM_FROM, MSGID_FROM_MTA_HEADER shortcircuit=no autolearn=no version=3.3.2 Path: news.gmane.org!not-for-mail From: Eric Wong Newsgroups: gmane.comp.lang.ruby.rainbows.general Subject: Re: Zbatery/Rainbows keepalive problem? Date: Sat, 27 Nov 2010 00:50:11 -0800 Message-ID: <20101127085011.GA8663@dcvr.yhbt.net> References: <20101124211714.GA25256@dcvr.yhbt.net> <20101124221402.GA28625@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 1290849617 15260 80.91.229.12 (27 Nov 2010 09:20:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 27 Nov 2010 09:20:17 +0000 (UTC) To: Rainbows! list Original-X-From: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Sat Nov 27 10:20:10 2010 Return-path: Envelope-to: gclrrg-rainbows-talk@m.gmane.org X-Original-To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Delivered-To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-BeenThere: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Errors-To: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Xref: news.gmane.org gmane.comp.lang.ruby.rainbows.general:152 Archived-At: Received: from rubyforge.org ([205.234.109.19]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PMGx0-0000AO-7U for gclrrg-rainbows-talk@m.gmane.org; Sat, 27 Nov 2010 10:20:10 +0100 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 2379E1858367 for ; Sat, 27 Nov 2010 04:20:08 -0500 (EST) Received: from dcvr.yhbt.net (dcvr.yhbt.net [64.71.152.64]) by rubyforge.org (Postfix) with ESMTP id 03ECC185835A for ; Sat, 27 Nov 2010 03:50:17 -0500 (EST) Received: from localhost (unknown [127.0.2.5]) by dcvr.yhbt.net (Postfix) with ESMTP id D824E1F500; Sat, 27 Nov 2010 08:50:13 +0000 (UTC) Jake Douglas wrote: > On Wed, Nov 24, 2010 at 2:14 PM, Eric Wong wrote: > > > > The normal Rails "render" path already seems[1] to add Content-Length; > > are you doing something else to send responses from Rails? > > I am not doing anything special to send responses from Rails, only 'render'. > > I can see in my browser that keep-alive is set, and Content-Length is > also set. It looks like the first couple requests finish quickly, and > then the remaining take an additional 5 seconds each. It seems the > browser is hanging for the default keep-alive timeout of 5 seconds on > each request before proceeding. This happens with different browsers. Interesting. I rarely actually do anything with a full web browser, but I can confirm keepalive works as expected with curl... Is there anything in your error logs such as exceptions being thrown by your app? Can anybody else reproduce this behavior Jake is seeing? > Is there additional information I can provide to give better insight > into why this is happening? tcpdump or similar output would be useful, thanks! -- Eric Wong _______________________________________________ Rainbows! mailing list - rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org http://rubyforge.org/mailman/listinfo/rainbows-talk Do not quote signatures (like this one) or top post when replying