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

* Re: Application hangs when waiting for RackRewindableInput
  2009-12-08 12:42 Application hangs when waiting for RackRewindableInput Gennady Chertanov
@ 2015-03-11 11:30 ` Steve Robinson
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Robinson @ 2015-03-11 11:30 UTC (permalink / raw)
  To: rack-devel; +Cc: alx.gsv


[-- Attachment #1.1: Type: text/plain, Size: 1430 bytes --]

Hi Gennady,

I had the same issue today and the problem for me was that the disk was 
full. Once I cleared some space the server worked fine.

Also make sure the /tmp directory has the right permissions.

Thanks! :)

On Tuesday, December 8, 2009 at 6:12:52 PM UTC+5:30, Gennady Chertanov 
wrote:
>
> 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. 
>

-- 

--- 
You received this message because you are subscribed to the Google Groups "Rack Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rack-devel+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 1987 bytes --]

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