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.0 required=3.0 tests=MSGID_FROM_MTA_HEADER shortcircuit=no autolearn=unavailable version=3.3.2 Path: news.gmane.org!not-for-mail From: ghazel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Newsgroups: gmane.comp.lang.ruby.rainbows.general Subject: Re: rails 2 and slow external services Date: Sun, 19 Dec 2010 19:04:55 -0800 Message-ID: References: <20101214045720.GC5051@dcvr.yhbt.net> <20101214063552.GA12020@dcvr.yhbt.net> <20101214074944.GA13496@dcvr.yhbt.net> <20101214172748.GA18131@dcvr.yhbt.net> <20101220025256.GB20300@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 1292814574 3274 80.91.229.12 (20 Dec 2010 03:09:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 20 Dec 2010 03:09:34 +0000 (UTC) To: "Rainbows! list" Original-X-From: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Mon Dec 20 04:09:28 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=rOq4XCVR2l/pO25MT6wRZDwvly7IyMkyz4cuMl9G8jg=; b=BUD1k0lnN+pxD5Wadf27sk2B7vB3oXKKY0pb2UcIF8EptwpCNbmgkm4nDqNhSwZi+g GVQCwyd7ur+J6Znm6YbZJhOzyG3/C99pbChlAymn9kTIOfZJEc7Z5RnHuvdc5VFdeFsi Hz3Q1csUqnqw273DTtmfBa30t6DBCNcSYTgtQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=i41mayDclzsJ+EQhzp5jNpl6wiw3H+JNQbCVLYTpxmvWmbsPb4Ps4g5IR9IETkAJky FRnRgMxLZeEjwttIRMV1CH5nGBIGi01lmELoDb/9EBYZdSqrbNvnnwxsWjvNnK2pxrsj JuCKciFM7DVBgzj3xPVu74Yt06bYTBl5U5MkA= In-Reply-To: <20101220025256.GB20300-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org> 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:183 Archived-At: Received: from rubyforge.org ([205.234.109.19]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PUW7s-0001Ni-2j for gclrrg-rainbows-talk@m.gmane.org; Mon, 20 Dec 2010 04:09:28 +0100 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 825D31858300; Sun, 19 Dec 2010 22:09:27 -0500 (EST) Received: from mail-qy0-f171.google.com (mail-qy0-f171.google.com [209.85.216.171]) by rubyforge.org (Postfix) with ESMTP id 6422B1858300 for ; Sun, 19 Dec 2010 22:05:16 -0500 (EST) Received: by qyk32 with SMTP id 32so3274398qyk.2 for ; Sun, 19 Dec 2010 19:05:16 -0800 (PST) Received: by 10.229.233.19 with SMTP id jw19mr3437076qcb.24.1292814316037; Sun, 19 Dec 2010 19:05:16 -0800 (PST) Received: by 10.220.179.194 with HTTP; Sun, 19 Dec 2010 19:04:55 -0800 (PST) On Sun, Dec 19, 2010 at 6:52 PM, Eric Wong wrote: > ghazel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: >> Also with Rainbows! I see a good number of: >> 2010/12/15 21:37:42 [error] 2104#0: *174851 sendfile() failed (32: >> Broken pipe) while sending request to upstream, >> 2010/12/15 21:37:55 [error] 2090#0: *175527 readv() failed (104: >> Connection reset by peer) while reading upstream, >> >> on our photo upload page. These errors did not occur with Unicorn, and >> the Unicorn logs said nothing about a failure either. > > Could this be related to the ThreadTimeout middleware bug? I don't think so. I added the ThreadTimeout middleware after many of these had occurred. -Greg _______________________________________________ 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