Errno::E232 (The pipe is being closed.)

I get this error on occasion using both Webrick and Apache2/FCGI:

Webrick Debug:

[06/Dec/2005:07:46:19 :: 216] Dispatcher failed to catch: The pipe is
being closed. (Errno::E232)
[06/Dec/2005:07:46:19 :: 216] Dispatcher failed to catch: The pipe is
being closed. (Errno::E232)
C:/MyApp/Server/public/…/config/…/vendor/rails/actionpack/lib/action_controller/cgi_process.rb:158:in
flush' C:/MyApp/Server/public/../config/../vendor/rails/actionpack/lib/action_controller/cgi_process.rb:158:inout’
C:/MyApp/Server/public/…/config/…/vendor/rails/railties/lib/dispatcher.rb:34:in
dispatch' C:/MyApp/Server/public/../config/../vendor/rails/railties/lib/fcgi_handler.rb:144:inprocess_request’
C:/MyApp/Server/public/…/config/…/vendor/rails/railties/lib/fcgi_handler.rb:64:in
process!' C:/MyApp/Server/public/../config/../vendor/rails/railties/lib/fcgi_handler.rb:55:ineach_cgi’
C:/program files/ruby/lib/ruby/site_ruby/1.8/fcgi.rb:595:in each' C:/program files/ruby/lib/ruby/site_ruby/1.8/fcgi.rb:595:ineach_cgi’
C:/MyApp/Server/public/…/config/…/vendor/rails/railties/lib/fcgi_handler.rb:55:in
process!' C:/MyApp/Server/public/../config/../vendor/rails/railties/lib/fcgi_handler.rb:21:inprocess!’
C:/MyApp/Server/public/dispatch.fcgi:24


Apache2/FCGI debug:

Errno::E232 (The pipe is being closed.):
C:/program
files/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.0/lib/action_controller/cgi_process.rb:161:in
flush' C:/program files/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.0/lib/action_controller/cgi_process.rb:161:inout’
C:/program
files/ruby/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/dispatcher.rb:38:in
dispatch' C:/program files/ruby/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/fcgi_handler.rb:141:inprocess_request’
C:/program
files/ruby/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/fcgi_handler.rb:53:in
process!' C:/program files/ruby/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/fcgi_handler.rb:52:ineach_cgi’
C:/program files/ruby/lib/ruby/site_ruby/1.8/fcgi.rb:595:in each' C:/program files/ruby/lib/ruby/site_ruby/1.8/fcgi.rb:595:ineach_cgi’
C:/program
files/ruby/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/fcgi_handler.rb:52:in
process!' C:/program files/ruby/lib/ruby/gems/1.8/gems/rails-0.14.3/lib/fcgi_handler.rb:22:inprocess!’
C:/MyApp/Server/public/dispatch.fcgi:24


This issue is random and seems to happen when multiple asynchronous
requests are sent to the server. I figured at first this was a
apache/fcgi config error but since I get a similar error using webrick
it sort of rules that out. Anyone have any ideas of where to start to
looking to correct this issue?

Thanks!

I forgot to include this:

The apache2/logs/error.log generates an entry as follows when this error
is encountered:

[Tue Dec 06 11:34:59 2005] [error] [client 192.168.1.85] FastCGI: comm
with (dynamic) server “C:/MyApp/Server/public/dispatch.fcgi” aborted:
(first read) idle timeout (30 sec)
[Tue Dec 06 11:34:59 2005] [error] [client 192.168.1.85] FastCGI:
incomplete headers (0 bytes) received from server
“C:/MyApp/Server/public/dispatch.fcgi”

This is understandable given the pipe was closed but figured I would
include this information as well.

I am getting the same error, can somebody please help?

Thanks,

Mr. Heinz [email protected] wrote:

I forgot to include this:

The apache2/logs/error.log generates an entry as follows when this error
is encountered:

[Tue Dec 06 11:34:59 2005] [error] [client 192.168.1.85] FastCGI: comm
with (dynamic) server “C:/MyApp/Server/public/dispatch.fcgi” aborted:
(first read) idle timeout (30 sec)
[Tue Dec 06 11:34:59 2005] [error] [client 192.168.1.85] FastCGI:
incomplete headers (0 bytes) received from server
“C:/MyApp/Server/public/dispatch.fcgi”

This is understandable given the pipe was closed but figured I would
include this information as well.

I too am getting the same error in apache with fastcgi. Any ideas?

Chris M. wrote:

I too am getting the same error in apache with fastcgi. Any ideas?

I’m having the same error too. Have any luck on solving this?