rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / Atom feed
From: Gennady Chertanov <alx.gsv@gmail.com>
To: Rack Development <rack-devel@googlegroups.com>
Subject: Application hangs when waiting for RackRewindableInput
Date: Tue, 8 Dec 2009 04:42:52 -0800 (PST)	[thread overview]
Message-ID: <1dbb8c52-12ba-43ac-805d-adba07325cb0@s31g2000yqs.googlegroups.com> (raw)

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.

             reply	other threads:[~2009-12-08 18:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-08 12:42 Gennady Chertanov [this message]
2015-03-11 11:30 ` Application hangs when waiting for RackRewindableInput Steve Robinson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://groups.google.com/group/rack-devel

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1dbb8c52-12ba-43ac-805d-adba07325cb0@s31g2000yqs.googlegroups.com \
    --to=rack-devel@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).