From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.142.191.1 with SMTP id o1cs181981wff; Tue, 8 Dec 2009 10:41:33 -0800 (PST) Received: from mr.google.com ([10.150.56.11]) by 10.150.56.11 with SMTP id e11mr9853253yba.2.1260297693072 (num_hops = 1); Tue, 08 Dec 2009 10:41:33 -0800 (PST) Received: by 10.150.56.11 with SMTP id e11mr928406yba.2.1260297691416; Tue, 08 Dec 2009 10:41:31 -0800 (PST) X-BeenThere: rack-devel@googlegroups.com Received: by 10.150.102.33 with SMTP id z33ls396897ybb.2.p; Tue, 08 Dec 2009 10:41:29 -0800 (PST) Received: by 10.150.235.20 with SMTP id i20mr9258818ybh.16.1260297688979; Tue, 08 Dec 2009 10:41:28 -0800 (PST) Received: by 10.101.52.19 with SMTP id e19mr8917005ank.12.1260276172555; Tue, 08 Dec 2009 04:42:52 -0800 (PST) Received: by 10.101.52.19 with SMTP id e19mr8917004ank.12.1260276172521; Tue, 08 Dec 2009 04:42:52 -0800 (PST) Return-Path: Received: from mail-gx0-f199.google.com (mail-gx0-f199.google.com [209.85.217.199]) by gmr-mx.google.com with ESMTP id 24si610781yxe.3.2009.12.08.04.42.52; Tue, 08 Dec 2009 04:42:52 -0800 (PST) Received-SPF: pass (google.com: domain of alx.gsv@gmail.com designates 209.85.217.199 as permitted sender) client-ip=209.85.217.199; Received: by gxk23 with SMTP id 23so5750813gxk.2 for ; Tue, 08 Dec 2009 04:42:52 -0800 (PST) MIME-Version: 1.0 Received: by 10.101.166.27 with SMTP id t27mr261733ano.58.1260276172421; Tue, 08 Dec 2009 04:42:52 -0800 (PST) Date: Tue, 8 Dec 2009 04:42:52 -0800 (PST) X-IP: 83.167.112.75 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; ru; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5,gzip(gfe),gzip(gfe) Message-ID: <1dbb8c52-12ba-43ac-805d-adba07325cb0@s31g2000yqs.googlegroups.com> Subject: Application hangs when waiting for RackRewindableInput From: Gennady Chertanov To: Rack Development Reply-To: rack-devel@googlegroups.com Precedence: list Mailing-list: list rack-devel@googlegroups.com; contact rack-devel+owners@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: X-Thread-Url: http://groups.google.com/group/rack-devel/t/5881148b468142c6 X-Message-Url: http://groups.google.com/group/rack-devel/msg/a6f903175ce8b080 Sender: rack-devel+owner@googlegroups.com List-Unsubscribe: , List-Subscribe: , Content-Type: text/plain; charset=ISO-8859-1 Hi. A week ago i migrated my Rails app to Rails 2.3.4 (from 2.2.2). And i am using passenger 2.2.7 that spawns my app as a Rails app. I faced one problem - my app hangs two or three times a day. I straced hanged instances and founded, that they doing select call at some descriptor. Then i discovered in lsof that descriptor is RackRewindableInput. See what strace shows for this descriptor: ruby 16632 deployuser 10u REG 8,1 35 1924608 (deleted) /tmp/RackRewindableInput20091207-16632-4uu3i-0 It never lies - /tmp/RackRewindableInput20091207-16632-4uu3i-0 dont exists. When application runs normally, there are no RackRewindableInput files at /tmp. Why application want to access this file and what can i do to avoid this problem? Thank you.