Hey, I have scheduled script that is not working very well. It will only run once or twice before I have to restart the server to get it running again. If I try to the worker manually after it has stopped exceuting the schedule I get this in the server log: 20070522-07:33:36 (5030) Connection reset by peer - (DRb::DRbConnError) 20070522-07:33:36 (5030) /usr/local/lib/ruby/1.8/drb/drb.rb:566:in `read'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/1.8/drb/drb.rb:566:in `load'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/1.8/drb/drb.rb:632:in `recv_reply'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/1.8/drb/drb.rb:921:in `recv_reply'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/1.8/drb/drb.rb:1195:in `send_message'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/1.8/drb/drb.rb:1086:in `method_missing'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/1.8/drb/drb.rb:1170:in `open'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/1.8/drb/drb.rb:1085:in `method_missing'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/1.8/drb/drb.rb:1103:in `with_friend'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/1.8/drb/drb.rb:1084:in `method_missing'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/1.8/drb/drb.rb:1072:in `respond_to?'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/gems/1.8/gems/slave-1.2.0/lib/slave.rb:454:in `initialize'' 20070522-07:33:36 (5030) /usr/local/apache2/htdocs/ruby/pharmacy_wire/vendor/plugins/backgroundrb/ser ver/lib/backgroundrb/middleman.rb:210:in `new'' 20070522-07:33:36 (5030) /usr/local/apache2/htdocs/ruby/pharmacy_wire/vendor/plugins/backgroundrb/ser ver/lib/backgroundrb/middleman.rb:210:in `new_worker'' 20070522-07:33:36 (5030) /usr/local/apache2/htdocs/ruby/pharmacy_wire/vendor/plugins/backgroundrb/ser ver/lib/backgroundrb/thread_pool.rb:36:in `dispatch'' 20070522-07:33:36 (5030) /usr/local/apache2/htdocs/ruby/pharmacy_wire/vendor/plugins/backgroundrb/ser ver/lib/backgroundrb/thread_pool.rb:22:in `initialize'' 20070522-07:33:36 (5030) /usr/local/apache2/htdocs/ruby/pharmacy_wire/vendor/plugins/backgroundrb/ser ver/lib/backgroundrb/thread_pool.rb:22:in `new'' 20070522-07:33:36 (5030) /usr/local/apache2/htdocs/ruby/pharmacy_wire/vendor/plugins/backgroundrb/ser ver/lib/backgroundrb/thread_pool.rb:22:in `dispatch'' 20070522-07:33:36 (5030) /usr/local/apache2/htdocs/ruby/pharmacy_wire/vendor/plugins/backgroundrb/ser ver/lib/backgroundrb/middleman.rb:199:in `new_worker'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/1.8/drb/drb.rb:1555:in `__send__'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/1.8/drb/drb.rb:1555:in `perform_without_block'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/1.8/drb/drb.rb:1515:in `perform'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/1.8/drb/drb.rb:1589:in `main_loop'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/1.8/drb/drb.rb:1585:in `loop'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/1.8/drb/drb.rb:1585:in `main_loop'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/1.8/drb/drb.rb:1581:in `start'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/1.8/drb/drb.rb:1581:in `main_loop'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/1.8/drb/drb.rb:1430:in `run'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/1.8/drb/drb.rb:1427:in `start'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/1.8/drb/drb.rb:1427:in `run'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/1.8/drb/drb.rb:1347:in `initialize'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/1.8/drb/drb.rb:1627:in `new'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/1.8/drb/drb.rb:1627:in `start_service'' 20070522-07:33:36 (5030) /usr/local/apache2/htdocs/ruby/pharmacy_wire/vendor/plugins/backgroundrb/ser ver/lib/backgroundrb_server.rb:315:in `run'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/gems/1.8/gems/daemons-1.0.5/lib/daemons/application.rb:1 87:in `call'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/gems/1.8/gems/daemons-1.0.5/lib/daemons/application.rb:1 87:in `start_proc'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/gems/1.8/gems/daemons-1.0.5/lib/daemons/daemonize.rb:192 :in `call'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/gems/1.8/gems/daemons-1.0.5/lib/daemons/daemonize.rb:192 :in `call_as_daemon'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/gems/1.8/gems/daemons-1.0.5/lib/daemons/application.rb:1 91:in `start_proc'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/gems/1.8/gems/daemons-1.0.5/lib/daemons/application.rb:2 27:in `start'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/gems/1.8/gems/daemons-1.0.5/lib/daemons/controller.rb:69 :in `run'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/gems/1.8/gems/daemons-1.0.5/lib/daemons.rb:182:in `run_proc'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/gems/1.8/gems/daemons-1.0.5/lib/daemons/cmdline.rb:105:i n `call'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/gems/1.8/gems/daemons-1.0.5/lib/daemons/cmdline.rb:105:i n `catch_exceptions'' 20070522-07:33:36 (5030) /usr/local/lib/ruby/gems/1.8/gems/daemons-1.0.5/lib/daemons.rb:181:in `run_proc'' 20070522-07:33:36 (5030) /usr/local/apache2/htdocs/ruby/pharmacy_wire/vendor/plugins/backgroundrb/ser ver/lib/backgroundrb_server.rb:301:in `run'' 20070522-07:33:36 (5030) script/backgroundrb:29 Anyone know what?s going on here? Thanks Peer Allan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20070522/41803ee2/attachment-0001.html