Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
process hangs - (Errno::ESPIPE) "Illegal seek"
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Dan Manges  
View profile  
 More options Aug 11 2008, 10:30 am
From: Dan Manges <daniel.man...@gmail.com>
Date: Mon, 11 Aug 2008 07:30:32 -0700 (PDT)
Local: Mon, Aug 11 2008 10:30 am
Subject: process hangs - (Errno::ESPIPE) "Illegal seek"
I've had a few Rails processes raise (Errno::ESPIPE) "Illegal seek" on
a file upload action, and when they do, they start eating up 100% cpu
and stop responding. Sometimes they're still in the passenger-status
list, sometimes not.

I'm using Passenger 2.0.2 with Rails 2.1.0

I received this backtrace from the Rails exception notifier plugin. It
looks like the exception is when flushing the response to the client.
Does anybody know why it might be happening?

[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/
cgi_process.rb:217:in `flush'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/
cgi_process.rb:217:in `out'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/
dispatcher.rb:149:in `handle_request'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/
dispatcher.rb:107:in `dispatch'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/
dispatcher.rb:104:in `synchronize'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/
dispatcher.rb:104:in `dispatch'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/
dispatcher.rb:120:in `dispatch_cgi'
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/
dispatcher.rb:35:in `dispatch'
/usr/lib64/ruby/gems/1.8/gems/passenger-2.0.2/lib/passenger/railz/
request_handler.rb:38:in `process_request'
/usr/lib64/ruby/gems/1.8/gems/passenger-2.0.2/lib/passenger/
abstract_request_handler.rb:163:in `main_loop'
/usr/lib64/ruby/gems/1.8/gems/passenger-2.0.2/lib/passenger/railz/
application_spawner.rb:307:in `start_request_handler'
/usr/lib64/ruby/gems/1.8/gems/passenger-2.0.2/lib/passenger/railz/
application_spawner.rb:276:in `handle_spawn_application'

Thanks,
Dan Manges


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hongli Lai  
View profile  
 More options Aug 11 2008, 11:16 am
From: Hongli Lai <hon...@phusion.nl>
Date: Mon, 11 Aug 2008 17:16:00 +0200
Subject: Re: process hangs - (Errno::ESPIPE) "Illegal seek"

Dan Manges wrote:
> I've had a few Rails processes raise (Errno::ESPIPE) "Illegal seek" on
> a file upload action, and when they do, they start eating up 100% cpu
> and stop responding. Sometimes they're still in the passenger-status
> list, sometimes not.

> I'm using Passenger 2.0.2 with Rails 2.1.0

> I received this backtrace from the Rails exception notifier plugin. It
> looks like the exception is when flushing the response to the client.
> Does anybody know why it might be happening?

Which version of Ruby are you using? And are you capable of reliably
reproducing this problem?

--
Phusion | The Computer Science Company

Web: http://www.phusion.nl/
E-mail: i...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dan Manges  
View profile  
 More options Aug 11 2008, 11:42 am
From: Dan Manges <daniel.man...@gmail.com>
Date: Mon, 11 Aug 2008 08:42:25 -0700 (PDT)
Local: Mon, Aug 11 2008 11:42 am
Subject: Re: process hangs - (Errno::ESPIPE) "Illegal seek"
On Aug 11, 10:16 am, Hongli Lai <hon...@phusion.nl> wrote:

> Which version of Ruby are you using? And are you capable of reliably
> reproducing this problem?

I'm using Ruby 1.8.5 from the yum package for CentOS. So far I haven't
been able to reproduce the problem, but it happens a couple times a
day if you have a suggestion for something to try.

$ ruby -v
ruby 1.8.5 (2006-08-25) [x86_64-linux]

$ uname -r
2.6.18-92.1.6.el5

$ yum list | grep ruby.x86_64
ruby.x86_64                              1.8.5-5.el5_2.3
installed

Thanks,
Dan


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hongli Lai  
View profile  
 More options Aug 11 2008, 11:49 am
From: Hongli Lai <hon...@phusion.nl>
Date: Mon, 11 Aug 2008 17:49:13 +0200
Local: Mon, Aug 11 2008 11:49 am
Subject: Re: process hangs - (Errno::ESPIPE) "Illegal seek"

Dan Manges wrote:
> On Aug 11, 10:16 am, Hongli Lai <hon...@phusion.nl> wrote:
>> Which version of Ruby are you using? And are you capable of reliably
>> reproducing this problem?

> I'm using Ruby 1.8.5 from the yum package for CentOS. So far I haven't
> been able to reproduce the problem, but it happens a couple times a
> day if you have a suggestion for something to try.

You might want to give Ruby 1.8.6-p286 a try. The problem that you're
experiencing might be a Ruby bug.

--
Phusion | The Computer Science Company

Web: http://www.phusion.nl/
E-mail: i...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
amos  
View profile  
 More options Sep 11 2008, 9:17 pm
From: amos <famosea...@gmail.com>
Date: Thu, 11 Sep 2008 18:17:44 -0700 (PDT)
Local: Thurs, Sep 11 2008 9:17 pm
Subject: Re: process hangs - (Errno::ESPIPE) "Illegal seek"
I just saw this too with:

ruby 1.8.6 (2008-08-11 patchlevel 287) [x86_64-linux]
passenger 2.0.3
centos 5.1

On Aug 11, 8:49 am, Hongli Lai <hon...@phusion.nl> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
amos  
View profile  
 More options Sep 13 2008, 1:33 pm
From: amos <famosea...@gmail.com>
Date: Sat, 13 Sep 2008 10:33:39 -0700 (PDT)
Local: Sat, Sep 13 2008 1:33 pm
Subject: Re: process hangs - (Errno::ESPIPE) "Illegal seek"
This is actually a serious problem. After a while our upload servers
have at least 4 processes that hang in this state and chew up the
CPUs. Has anyone else seen this? Here is the repeated output of
strace:

lseek(9, -2, SEEK_CUR)                  = -1 ESPIPE (Illegal seek)
lseek(9, -2, SEEK_CUR)                  = -1 ESPIPE (Illegal seek)
....

On Sep 11, 6:17 pm, amos <famosea...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google