rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / Atom feed
* Application hangs when waiting for RackRewindableInput
@ 2009-12-08 12:42 Gennady Chertanov
  2015-03-11 11:30 ` Steve Robinson
  0 siblings, 1 reply; 2+ messages in thread
From: Gennady Chertanov @ 2009-12-08 12:42 UTC (permalink / raw)
  To: Rack Development

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-11 12:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-08 12:42 Application hangs when waiting for RackRewindableInput Gennady Chertanov
2015-03-11 11:30 ` Steve Robinson

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).