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:
2:
3:
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:incall’
/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:incapture’
/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:inform_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:incompile_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:inrender_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:inrender_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:inrender’
/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:inrender’
/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:incall_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:inperform_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:inperform_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:insend’
/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:inprocess_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:inprocess’
/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:inprocess’
/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:inprocess’
/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:ineach’
/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:inrun’
/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:innew’
/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:ininitialize’
/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:inrun’
/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:ineach’
/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:inrun’
/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:inload’
/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:innew_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:ingem_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:inrequire’
/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:inrequire’
/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:inrequire’
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:incapture_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:inform_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:incompile_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:inrender_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:inrender_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:inrender’
/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:inrender’
/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:incall_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:inperform_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:inperform_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:insend’
/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:inprocess_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:inprocess’
/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:inprocess’
/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:inprocess’
/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:ineach’
/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:inrun’
/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:innew’
/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:ininitialize’
/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:inrun’
/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:ineach’
/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:inrun’
/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:inload’
/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:innew_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:ingem_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:inrequire’
/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:inrequire’
/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:inrequire’
script/server:3