Hello,
maybe someone can help with backgroundrb. I’ve written an application,
which
makes use of backgroundrb. Everything works fine on my development
machine, but
it crashes on my production server.
Something seems to be wrong with backgroundrb, but I don’t know the
cause. All I
get is the error message attached below, which is extracted from the
production.log.
I appreciate any help on this matter.
Greetings
Michael K.
— errror message
DRb::DRbConnError (connection closed):
/usr/local/lib/ruby/1.8/drb/drb.rb:567:in load' /usr/local/lib/ruby/1.8/drb/drb.rb:629:in
recv_reply’
/usr/local/lib/ruby/1.8/drb/drb.rb:918:in recv_reply' /usr/local/lib/ruby/1.8/drb/drb.rb:1192:in
send_message’
/usr/local/lib/ruby/1.8/drb/drb.rb:1083:in method_missing' /usr/local/lib/ruby/1.8/drb/drb.rb:1167:in
open’
/usr/local/lib/ruby/1.8/drb/drb.rb:1082:in method_missing' /usr/local/lib/ruby/1.8/drb/drb.rb:1100:in
with_friend’
/usr/local/lib/ruby/1.8/drb/drb.rb:1081:in method_missing' /app/controllers/search_controller.rb:100:in
start_source_processing’
/app/controllers/search_controller.rb:99:in
start_source_processing' /app/controllers/search_controller.rb:20:in
simple’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/base.rb:910:in
`perform_action_without_filters’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/filters.rb:368:in
`perform_action_without_benchmark’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/benchmarking.rb:69:in
perform_action_without_rescue' /usr/local/lib/ruby/1.8/benchmark.rb:293:in
measure’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/benchmarking.rb:69:in
`perform_action_without_rescue’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/rescue.rb:82:in
`perform_action’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/base.rb:381:in
`process_without_filters’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/filters.rb:377:in
`process_without_session_management_support’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/session_management.rb:117:in
process' /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.4/lib/dispatcher.rb:38:in
dispatch’
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel/rails.rb:66:in
process' /usr/local/lib/ruby/1.8/thread.rb:135:in
synchronize’
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel/rails.rb:64:in
process' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel.rb:425:in
process_client’
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel.rb:424:in
process_client' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel.rb:495:in
run’
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel.rb:494:in
run' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel.rb:483:in
run’
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel.rb:774:in
run' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel.rb:772:in
run’
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/bin/mongrel_rails:97:in
`run’
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel/command.rb:163:in
`run’
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/bin/mongrel_rails:194
/usr/local/bin/mongrel_rails:18