<div>Intermittently, I see this error about an error connecting to the backgroundrb server. This happens when, in a loop, I submit dozens, sometimes a few hundred jobs in the B/G.&nbsp;</div><div>Any idea why this happens and how to avoid it?</div>
<div>Raghu</div><div>--------------------------------------------------------------------------------------------------------------------------------------</div><div>BackgrounDRb::BdrbConnError (Error while connecting to the backgroundrb server):</div>
<div>&nbsp;&nbsp; &nbsp;/vendor/plugins/backgroundrb/lib/backgroundrb.rb:94:in `dump_object&#39;</div><div>&nbsp;&nbsp; &nbsp;/vendor/plugins/backgroundrb/lib/backgroundrb.rb:110:in `ask_work&#39;</div><div>&nbsp;&nbsp; &nbsp;/vendor/plugins/backgroundrb/lib/backgroundrb/rails_worker_proxy.rb:28:in `method_missing&#39;</div>
<div>&nbsp;&nbsp; &nbsp;/app/controllers/logins_controller.rb:60:in `batch_refresh&#39;</div><div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/inflector.rb:257:in `each_with_index&#39;</div><div>&nbsp;&nbsp; &nbsp;/app/controllers/logins_controller.rb:56:in `each&#39;</div>
<div>&nbsp;&nbsp; &nbsp;/app/controllers/logins_controller.rb:56:in `each_with_index&#39;</div><div>&nbsp;&nbsp; &nbsp;/app/controllers/logins_controller.rb:56:in `batch_refresh&#39;</div><div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:in `send&#39;</div>
<div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:in `perform_action_without_filters&#39;</div><div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:697:in `call_filters&#39;</div>
<div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:689:in `perform_action_without_benchmark&#39;</div><div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue&#39;</div>
<div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/1.8/benchmark.rb:293:in `measure&#39;</div><div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue&#39;</div><div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/rescue.rb:199:in `perform_action_without_caching&#39;</div>
<div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:678:in `perform_action_without_newrelic_trace&#39;</div><div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache&#39;</div>
<div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/query_cache.rb:8:in `cache&#39;</div><div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:677:in `perform_action_without_newrelic_trace&#39;</div>
<div>&nbsp;&nbsp; &nbsp;/vendor/plugins/newrelic_rpm/lib/newrelic/agent/instrumentation/action_controller.rb:63:in `perform_action&#39;</div><div>&nbsp;&nbsp; &nbsp;/vendor/plugins/newrelic_rpm/lib/newrelic/agent/method_tracer.rb:38:in `trace_method_execution&#39;</div>
<div>&nbsp;&nbsp; &nbsp;/vendor/plugins/newrelic_rpm/lib/newrelic/agent/instrumentation/action_controller.rb:52:in `perform_action&#39;</div><div>&nbsp;&nbsp; &nbsp;/vendor/plugins/newrelic_rpm/lib/newrelic/agent/method_tracer.rb:38:in `trace_method_execution&#39;</div>
<div>&nbsp;&nbsp; &nbsp;/vendor/plugins/newrelic_rpm/lib/newrelic/agent/instrumentation/action_controller.rb:46:in `perform_action&#39;</div><div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `send&#39;</div>
<div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in `process_without_filters&#39;</div><div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:685:in `process_without_session_management_support&#39;</div>
<div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/session_management.rb:123:in `process&#39;</div><div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:388:in `process&#39;</div>
<div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:171:in `handle_request&#39;</div><div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:in `dispatch&#39;</div>
<div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi&#39;</div><div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:in `dispatch_without_newrelic&#39;</div>
<div>&nbsp;&nbsp; &nbsp;/vendor/plugins/newrelic_rpm/lib/newrelic/agent/instrumentation/dispatcher.rb:41:in `dispatch&#39;</div><div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process&#39;</div><div>
&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize&#39;</div><div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process&#39;</div><div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:159:in `process_client&#39;</div>
<div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:158:in `each&#39;</div><div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:158:in `process_client&#39;</div><div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:285:in `run&#39;</div>
<div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:285:in `initialize&#39;</div><div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:285:in `new&#39;</div><div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:285:in `run&#39;</div>
<div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:268:in `initialize&#39;</div><div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:268:in `new&#39;</div><div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel.rb:268:in `run&#39;</div>
<div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/configurator.rb:282:in `run&#39;</div><div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/configurator.rb:281:in `each&#39;</div><div>
&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/configurator.rb:281:in `run&#39;</div><div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run&#39;</div><div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/command.rb:212:in `run&#39;</div>
<div>&nbsp;&nbsp; &nbsp;/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281</div><div>&nbsp;&nbsp; &nbsp;/usr/bin/mongrel_rails:19:in `load&#39;</div><div>&nbsp;&nbsp; &nbsp;/usr/bin/mongrel_rails:19</div><div><br></div>