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.6 required=5.0 tests=AWL,FREEMAIL_FROM, MSGID_FROM_MTA_HEADER,RP_MATCHES_RCVD,T_DKIM_INVALID shortcircuit=no autolearn=unavailable version=3.3.2 Path: news.gmane.org!not-for-mail From: Lawrence Pit Newsgroups: gmane.comp.lang.ruby.unicorn.general Subject: Re: leading/trailing linear whitespace in headers Date: Fri, 27 May 2011 17:32:52 +1000 Message-ID: <4DDF53A4.6090107@gmail.com> References: <20110521030550.GA20008@dcvr.yhbt.net> <4DD74A23.5060309@gmail.com> <20110521055719.GA29110@dcvr.yhbt.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1306482413 11944 80.91.229.12 (27 May 2011 07:46:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 27 May 2011 07:46:53 +0000 (UTC) To: unicorn list Original-X-From: mongrel-unicorn-bounces@rubyforge.org Fri May 27 09:46:47 2011 Return-path: Envelope-to: gclrug-mongrel-unicorn@m.gmane.org X-Original-To: mongrel-unicorn@rubyforge.org Delivered-To: mongrel-unicorn@rubyforge.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=5vEYiTexe7YJnoSl7TDTb975cksm58gGif4WhpTQokk=; b=k8GJkj99qHFiE1nKiOS3pPCOrmLtTnYFdlB4wlw9lxyqlGqCiMF/OCO3mr4sbUn6na cve4qxiOO4wFkOkHLg8iSYl5FsOtH+m028906hT87/JVwT+Vjt+Bo9NAbFIi8vbaJahl hwRtyA1uA7x7O1J9dL2nKqN9ku5caLkp4gNwM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=dr1Cuuoj8LTEzMk/YeHsVI9CRI4HwCZCXR7uyzTcFLLJU+s3sjoY6V5meFrJpBsYen 4gOp9n1BbTnlISpU0KjK/J5elwwFeX34xVSeBn5x5At2H/KuFcFe4S3SqKvN3zLO4QUm O3k096fZHuYZqaWgTzbG1xjfqxo07XalaKUDk= User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 In-Reply-To: <20110521055719.GA29110@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:962 Archived-At: Received: from rubyforge.org ([205.234.109.19]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QPrkt-0004RR-4r for gclrug-mongrel-unicorn@m.gmane.org; Fri, 27 May 2011 09:46:47 +0200 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 9BB3D1D780FA; Fri, 27 May 2011 03:46:44 -0400 (EDT) Received: from mail-pz0-f50.google.com (mail-pz0-f50.google.com [209.85.210.50]) by rubyforge.org (Postfix) with ESMTP id CA89318583B4 for ; Fri, 27 May 2011 03:32:59 -0400 (EDT) Received: by pzk2 with SMTP id 2so808201pzk.23 for ; Fri, 27 May 2011 00:32:59 -0700 (PDT) Received: by 10.68.37.72 with SMTP id w8mr693370pbj.263.1306481579103; Fri, 27 May 2011 00:32:59 -0700 (PDT) Received: from copa.local (124-149-180-15.dyn.iinet.net.au [124.149.180.15]) by mx.google.com with ESMTPS id o2sm306195pbj.49.2011.05.27.00.32.55 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 27 May 2011 00:32:57 -0700 (PDT) Hi Eric, I thought I'll wait a few days before replying just to make sure: believe it or not, since I upgraded 4 days ago to kgio 2.4.1 not once did I run into this issue. While before that unicorn would timeout at least once every hour, sometimes a dozen times in a row. I don't run through nginx on my dev machine, just straight into unicorn_rails using mostly Chrome 11 and FF 4. I use: ruby 1.8.7 (2010-04-19 patchlevel 253) [i686-darwin10.4.0], MBARI 0x6770, Ruby Enterprise Edition 2010.02 Cheers, Lawrence > Hi Eric, >> Since I upgraded from unicorn 1 to 3, Unicorn will freeze for 60 >> seconds at random moments, and then restart. Only on my dev machine. >> Not in 1 project, but in all my projects that use unicorn. I get no >> log output, it just freezes for 60 seconds. Strangely this happens >> significantly more often with using Chrome as a client than with >> Firefox. > Even through nginx? Which Ruby version is it? > > The bug I'm referring to in this thread is only for /request/ headers, > and I don't think any common HTTP clients send trailing whitespace. > >> So I hope this will fix that, though I have no idea if it's related >> in any way. I was thinking it may also have to do with unicorn not >> officially supporting Mac OS X. > I'm sure you're not the only OS X Unicorn user, perhaps somebody else > knows what's going on... > > If it's kgio-related, but I think Jeremy fixed all the issues under > OpenBSD with kgio 2.4.0 and some of that probably helped other > *BSD-based systems. I've been meaning to setup a VM on FreeBSD > again but haven't had the time. > _______________________________________________ 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