rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / code / 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

rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://public-inbox.org/rack-devel

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 rack-devel rack-devel/ https://public-inbox.org/rack-devel \
		rack-devel@googlegroups.com
	public-inbox-index rack-devel

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.lang.ruby.rack.devel
	nntp://7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd.onion/inbox.comp.lang.ruby.rack.devel
	nntp://news.gmane.io/gmane.comp.lang.ruby.rack.devel
 note: .onion URLs require Tor: https://www.torproject.org/

code repositories for project(s) associated with this inbox:

	https://80x24.org/mirrors/rack.git

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git