[Mongrel] Input/output error on linux

Bob Hutchison hutch at recursive.ca
Mon Jun 12 08:37:03 EDT 2006


Hi,

I'm trying to use mongrel 0.3.13 with Rail 1.0

Believe it or not, on OS/X it works well for weeks at a time. On  
linux I'm getting Input/output errors after anything from a few hours  
to days, never more than a week. Once they start they don't stop.

The only pattern I've seen is that it always (seems) to happen while  
rendering an rhtml file. I've never seen it happen with a static  
file, for instance.

Until yesterday, once the errors started they happened on every page  
rendered. Yesterday, some pages would be rendered okay, others fail.  
I mean that some rhtml files would work and other wouldn't -- the  
rhtml files all follow a similar pattern so there's nothing  
particularly special about any of them, working or failing.

Has anyone seen this before? Any suggestions? Is there something  
useful to check in Rails or Mongrel?

I've appended a recent stack trace. Don't read anything into the  
rhtml where it failed, it happens with the simplest <%= @var -%> you  
can imagine. This trace might not be the best example, but it is the  
one I've got.

Cheers,
Bob

----
Bob Hutchison                  -- blogs at <http://www.recursive.ca/ 
hutch/>
Recursive Design Inc.          -- <http://www.recursive.ca/>
Raconteur                      -- <http://www.raconteur.info/>
xampl for Ruby                 -- <http://rubyforge.org/projects/xampl/>



Processing StoryController#index (for 216.138.231.102 at 2006-06-12  
07:34:38) [GET]
   Parameters: {"story"=>"1144782860_45", "action"=>"index",  
"id"=>"cdmb-migrated", "controller"=>"raconteur/story",  
"pub"=>"1145371264_1"}
raconteur_user: super
Rendering  within layouts/raconteur
Rendering raconteur/story/index


ActionView::TemplateError (Input/output error) on line #15 of app/ 
views/raconteur/story/index.rhtml:
12: <%
13: if @the_story.the_description and 0 <  
@the_story.the_description.size then
14: %>
15: <div class='pageDescription'><%=  
in_place_editor_field :the_story, :the_description, {}, {:url =>  
url_for(:id => @installation_id, :pub => @publication_id, :story =>  
@story_id, :action => 'set_the_story_description'), :rows =>  
15, :save_text => _("save"), :cancel_text => _ 
("cancel"), :saving_text => _("Saving...")} %></div>
16: <%
17: else
18: %>

     /home/raconteur/gems/gems/actionpack-1.11.2/lib/action_view/ 
helpers/java_script_macros_helper.rb:62:in `write'
     /home/raconteur/gems/gems/actionpack-1.11.2/lib/action_view/ 
helpers/java_script_macros_helper.rb:62:in `in_place_editor_field'
     #{RAILS_ROOT}/app/views/raconteur/story/index.rhtml:15
     /home/raconteur/gems/gems/actionpack-1.11.2/lib/action_view/ 
base.rb:268:in `compile_and_render_template'
     /home/raconteur/gems/gems/actionpack-1.11.2/lib/action_view/ 
base.rb:244:in `render_template'
     /home/raconteur/gems/gems/actionpack-1.11.2/lib/action_view/ 
base.rb:205:in `render_file'
     /home/raconteur/gems/gems/actionpack-1.11.2/lib/ 
action_controller/base.rb:655:in `render_file'
     /home/raconteur/gems/gems/actionpack-1.11.2/lib/ 
action_controller/base.rb:595:in `render_with_no_layout'
     /home/raconteur/gems/gems/actionpack-1.11.2/lib/ 
action_controller/layout.rb:220:in `render_without_benchmark'
     /home/raconteur/gems/gems/actionpack-1.11.2/lib/ 
action_controller/benchmarking.rb:53:in `render'
     /home/raconteur/lib/ruby/1.8/benchmark.rb:293:in `measure'
     /home/raconteur/gems/gems/actionpack-1.11.2/lib/ 
action_controller/benchmarking.rb:53:in `render'
     /home/raconteur/gems/gems/actionpack-1.11.2/lib/ 
action_controller/base.rb:854:in `perform_action_without_filters'
     /home/raconteur/gems/gems/actionpack-1.11.2/lib/ 
action_controller/filters.rb:332:in `perform_action_without_benchmark'
     /home/raconteur/gems/gems/actionpack-1.11.2/lib/ 
action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
     /home/raconteur/lib/ruby/1.8/benchmark.rb:293:in `measure'
     /home/raconteur/gems/gems/actionpack-1.11.2/lib/ 
action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
     /home/raconteur/gems/gems/actionpack-1.11.2/lib/ 
action_controller/rescue.rb:82:in `perform_action'
     /home/raconteur/gems/gems/actionpack-1.11.2/lib/ 
action_controller/base.rb:369:in  
`process_without_session_management_support'
     /home/raconteur/gems/gems/actionpack-1.11.2/lib/ 
action_controller/session_management.rb:116:in `process'
     /home/raconteur/gems/gems/rails-1.0.0/lib/dispatcher.rb:38:in  
`dispatch'
     /home/raconteur/gems/gems/mongrel-0.3.13/lib/mongrel/rails.rb: 
85:in `process'
     /home/raconteur/gems/gems/mongrel-0.3.13/lib/mongrel.rb:532:in  
`process_client'
     /home/raconteur/gems/gems/mongrel-0.3.13/lib/mongrel.rb:531:in  
`process_client'
     /home/raconteur/gems/gems/mongrel-0.3.13/lib/mongrel.rb:600:in  
`run'
     /home/raconteur/gems/gems/mongrel-0.3.13/lib/mongrel.rb:599:in  
`run'
     /home/raconteur/gems/gems/mongrel-0.3.13/lib/mongrel.rb:588:in  
`run'
     /home/raconteur/gems/gems/mongrel-0.3.13/lib/mongrel.rb:918:in  
`run'
     /home/raconteur/gems/gems/mongrel-0.3.13/lib/mongrel.rb:917:in  
`run'
     /home/raconteur/gems/gems/mongrel-0.3.13/bin/mongrel_rails: 
122:in `run'
     /home/raconteur/gems/gems/mongrel-0.3.13/lib/mongrel/command.rb: 
208:in `run'
     /home/raconteur/gems/gems/mongrel-0.3.13/bin/mongrel_rails:230
     /home/raconteur/gems/bin/mongrel_rails:18





More information about the Mongrel-users mailing list