Errno::EIO - Input/output error

hi all,    my appl works well but i get the following error suddenly for few pages. to resolve this, i had to restart the server everytime. then it works fine for some time, but after some time it appears again. this is happening contineously. i searched for solution on this, but didn't get much. can anybody help in this plaese? any help will be greatly appreciated... i've pasted full trace below.

-Dhaval

TRACE:- Errno::EIO in Reporter#index Showing app/views/reporter/index.rhtml where line #4 raised:

Input/output error

Extracted source (around line #4):

1: <div id="main_content"> 2: 3: <div id="stat_selector"> 4: <% form_remote_tag( :url => {:controller => 'reporter', :action => 'add_stat'}, :html => {:id => 'add_stat_form'}) do |f| %> 5: <%=select_tag("stat_id", options_from_collection_for_select(@statistics, "id", "name"))%> 6: <%= submit_tag 'Add Stat' %> 7: <% end %>

RAILS_ROOT: script/../config/..

Application Trace | Framework Trace | Full Trace /home/dphansalkar/temp_upload/MergeDemoTRY/app/views/reporter/index.rhtml:4:in `write' /home/dphansalkar/temp_upload/MergeDemoTRY/app/views/reporter/index.rhtml:4:in `_run_rhtml_47app47views47reporter47index46rhtml' /home/dphansalkar/temp_upload/MergeDemoTRY/app/views/reporter/index.rhtml:4:in `_run_rhtml_47app47views47reporter47index46rhtml' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_view/helpers/capture_helper.rb:108:in `call' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_view/helpers/capture_helper.rb:108:in `capture_erb_with_buffer' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_view/helpers/capture_helper.rb:67:in `capture' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_view/helpers/form_tag_helper.rb:51:in `form_tag' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_view/helpers/prototype_helper.rb:180:in `form_remote_tag' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_view/base.rb:325:in `send' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_view/base.rb:325:in `compile_and_render_template' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_view/base.rb:301:in `render_template' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_view/base.rb:260:in `render_file' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:812:in `render_file' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:717:in `render_with_no_layout' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/layout.rb:247:in `render_without_benchmark' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:50:in `render' /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:50:in `render' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:1102:in `perform_action_without_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/filters.rb:696:in `call_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/filters.rb:688:in `perform_action_without_benchmark' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue' /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/rescue.rb:83:in `perform_action' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:435:in `send' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:435:in `process_without_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/filters.rb:684:in `process_without_session_management_support' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/session_management.rb:114:in `process' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:334:in `process' /usr/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/dispatcher.rb:41:in `dispatch' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/lib/mongrel/rails.rb:76:in `process' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/lib/mongrel/rails.rb:74:in `synchronize' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/lib/mongrel/rails.rb:74:in `process' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/lib/mongrel.rb:626:in `process_client' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/lib/mongrel.rb:625:in `each' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/lib/mongrel.rb:625:in `process_client' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/lib/mongrel.rb:751:in `run' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/lib/mongrel.rb:751:in `initialize' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/lib/mongrel.rb:751:in `new' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/lib/mongrel.rb:751:in `run' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/lib/mongrel.rb:735:in `initialize' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/lib/mongrel.rb:735:in `new' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/lib/mongrel.rb:735:in `run' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/lib/mongrel/configurator.rb:282:in `run' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/lib/mongrel/configurator.rb:281:in `each' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/lib/mongrel/configurator.rb:281:in `run' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/bin/mongrel_rails:122:in `run' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/lib/mongrel/command.rb:211:in `run' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/bin/mongrel_rails:276 /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:488:in `load' /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:488:in `load' /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:342:in `new_constants_in' /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:488:in `load' /usr/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/commands/servers/mongrel.rb:60 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:495:in `require' /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:342:in `new_constants_in' /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:495:in `require' /usr/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/commands/server.rb:39 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' script/server:3 /home/dphansalkar/temp_upload/MergeDemoTRY/app/views/reporter/index.rhtml:4:in `write' /home/dphansalkar/temp_upload/MergeDemoTRY/app/views/reporter/index.rhtml:4:in `_run_rhtml_47app47views47reporter47index46rhtml' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_view/helpers/capture_helper.rb:108:in `call' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_view/helpers/capture_helper.rb:108:in `capture_erb_with_buffer' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_view/helpers/capture_helper.rb:67:in `capture' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_view/helpers/form_tag_helper.rb:51:in `form_tag' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_view/helpers/prototype_helper.rb:180:in `form_remote_tag' /home/dphansalkar/temp_upload/MergeDemoTRY/app/views/reporter/index.rhtml:4:in `_run_rhtml_47app47views47reporter47index46rhtml' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_view/base.rb:325:in `send' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_view/base.rb:325:in `compile_and_render_template' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_view/base.rb:301:in `render_template' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_view/base.rb:260:in `render_file' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:812:in `render_file' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:717:in `render_with_no_layout' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/layout.rb:247:in `render_without_benchmark' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:50:in `render' /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:50:in `render' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:1102:in `perform_action_without_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/filters.rb:696:in `call_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/filters.rb:688:in `perform_action_without_benchmark' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue' /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/rescue.rb:83:in `perform_action' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:435:in `send' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:435:in `process_without_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/filters.rb:684:in `process_without_session_management_support' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/session_management.rb:114:in `process' /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.6/lib/action_controller/base.rb:334:in `process' /usr/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/dispatcher.rb:41:in `dispatch' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/lib/mongrel/rails.rb:76:in `process' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/lib/mongrel/rails.rb:74:in `synchronize' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/lib/mongrel/rails.rb:74:in `process' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/lib/mongrel.rb:626:in `process_client' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/lib/mongrel.rb:625:in `each' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/lib/mongrel.rb:625:in `process_client' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/lib/mongrel.rb:751:in `run' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/lib/mongrel.rb:751:in `initialize' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/lib/mongrel.rb:751:in `new' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/lib/mongrel.rb:751:in `run' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/lib/mongrel.rb:735:in `initialize' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/lib/mongrel.rb:735:in `new' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/lib/mongrel.rb:735:in `run' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/lib/mongrel/configurator.rb:282:in `run' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/lib/mongrel/configurator.rb:281:in `each' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/lib/mongrel/configurator.rb:281:in `run' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/bin/mongrel_rails:122:in `run' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/lib/mongrel/command.rb:211:in `run' /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.3/bin/mongrel_rails:276 /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:488:in `load' /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:488:in `load' /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:342:in `new_constants_in' /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:488:in `load' /usr/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/commands/servers/mongrel.rb:60 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:495:in `require' /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:342:in `new_constants_in' /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:495:in `require' /usr/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/commands/server.rb:39 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' script/server:3

hi,    any help/solution on this? does anyone face the same prb?....

-Dhaval

hi all,    is this issue really a tough one or its not at all a prb? did i forget something to mention? aren't the details provided sufficient? can somebody help me out please?

-Dhaval

can you check the ror versions,environments on both, your local and server machine? if both are same, can you paste the complete error trace here that u get?

as i said in my previous post, i didn't get the exact solution for this, but the change that i made at that time, worked fine.

-Dhaval