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: AS33070 50.56.128.0/17 X-Spam-Status: No, score=0.0 required=3.0 tests=MSGID_FROM_MTA_HEADER, TVD_RCVD_IP shortcircuit=no autolearn=unavailable version=3.3.2 Path: news.gmane.org!not-for-mail From: Kunal Modi Newsgroups: gmane.comp.lang.ruby.rainbows.general Subject: Rainbows on Heroku Issues Date: Wed, 6 Jun 2012 18:30:11 -0700 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1339032796 13194 80.91.229.3 (7 Jun 2012 01:33:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 7 Jun 2012 01:33:16 +0000 (UTC) To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Original-X-From: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Thu Jun 07 03:33:15 2012 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=3aUKt4oU7q4L3Lp3vj8n5AerdUnYnxP4NfDaelV3A9U=; b=FRcPjeDsmVlq7AdQJG7CX4JXhALYzeSbI7s6C+VT9NV2NU1PZ4T61nwiEaX82pARXe pMDWHgy3tynOCpBqQ67MHres58kUbefvnj+Jq38n73qm2DWzhKkiZfR+owefgYPACq4T vC1SsqafmlazLxI8GJ5oYmmvbqm35dCOG0bvXsKy+aE9wYqSfqSD4BTOurqXw1JzCRzJ AbNX5tz+/z+g0a3a8Ei8CwoC7OFVatOKe44CDtmFTcuf5tiJ4HDEJOQfB3obzVoubdut 1W4WTY551m8GqVdQVl56VFa6EM8v4GaKHCdWILvslxlmDEdEhp071i5MGgFQbFssidiX Bf7A== 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:354 Archived-At: Received: from 50-56-192-79.static.cloud-ips.com ([50.56.192.79] helo=rubyforge.org) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ScRb8-0001yd-ME for gclrrg-rainbows-talk@m.gmane.org; Thu, 07 Jun 2012 03:33:14 +0200 Received: from localhost.localdomain (localhost [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id F309E3AFF4; Thu, 7 Jun 2012 01:33:12 +0000 (UTC) Received: from mail-wg0-f54.google.com (mail-wg0-f54.google.com [74.125.82.54]) by rubyforge.org (Postfix) with ESMTP id DF5DC3AFF4 for ; Thu, 7 Jun 2012 01:30:32 +0000 (UTC) Received: by wgbfg15 with SMTP id fg15so55560wgb.23 for ; Wed, 06 Jun 2012 18:30:32 -0700 (PDT) Received: by 10.216.225.230 with SMTP id z80mr212281wep.182.1339032632172; Wed, 06 Jun 2012 18:30:32 -0700 (PDT) Received: by 10.194.31.165 with HTTP; Wed, 6 Jun 2012 18:30:11 -0700 (PDT) Hi, I am trying to run Rainbows on Heroku and I'm getting some odd errors, I was wondering if anyone had any explanation / idea on how to solve. I created a simple Rails 3.1/Ruby 1.9.3 app to test Unicorn/Rainbows on Heroku (just a simple endpoint that responds with simple json). The app worked as expected with Unicorn, but has some odd tendencies on Heroku when using Rainbows. The request completely processes in Heroku, but always waits keepalive_timeout time before actually returning the response: 2012-06-06T22:33:01+00:00 app[web.1]: Started GET "/" at 2012-06-06 22:33:01 +0000 2012-06-06T22:33:01+00:00 app[web.1]: cache: [GET /] miss 2012-06-06T22:33:06+00:00 heroku[router]: GET simple-waterfall-3300.herokuapp.com/=A0dyno=3Dweb.1 queue=3D0 wait=3D0ms service=3D5020ms status=3D200 bytes=3D13 When I changed keepalive timeout to 10s, the responses were similarly delayed by 10s. When I set the keelalive timeout to 0, Heroku returned 2012-06-07T00:50:02+00:00 heroku[router]: Error H13 (Connection closed without response) My Rainbows specific config was: =A0 use :ThreadPool =A0 worker_connections 30 =A0=A0keepalive_timeout 5 Thanks a lot! Kunal _______________________________________________ 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