[Backgroundrb-devel] struggling with stability

Jodi Showers jodi at nnovation.ca
Tue Jun 5 21:00:56 EDT 2007


Greetings all,

Unit tests are passing, but I'm having mucho problems getting brb to  
run without exceptions for more than 6 hours.

I'm seeing a mixture of the following 2 exceptions:

20070605-11:26:56 (21497) failed to find slave socket - (RuntimeError)
20070605-11:26:56 (21497) /usr/local/lib/ruby/gems/1.8/gems/ 
slave-1.2.1/lib/slave.rb:435:in `initialize'
20070605-11:26:56 (21497) /var/www/html/the-soup/vendor/plugins/ 
backgroundrb/server/lib/backgroundrb/middleman.rb:210:in `new_worker'

and

20070605-11:26:56 (21497) ~~~~~~~~~ Can't find job! 'job_key_1' -  
(Exception)
20070605-11:26:56 (21497) undefined method `initial_do_work' for  
[]:Array - (NoMethodError)
20070605-11:26:56 (21497) /var/www/html/the-soup/vendor/plugins/ 
backgroundrb/server/lib/backgroundrb/middleman.rb:342:in  
`schedule_worker'
(the above is a check I added when a job key lookup fails)

environment:
- RHEL 4
- ruby 1.8.4 (2005-12-24) [x86_64-linux]
- rails  1.2.3
- slave (1.2.1)
- daemons (1.0.5)
- not using middleman - only the scheduler
- mysql 5

The tasks are scheduled to run every hour, and don't run for more  
than a few minutes.

Talking with Ezra at railsconf he indicated that a new team member  
was joining - can I provide any info to help debug this?

Jodi


More information about the Backgroundrb-devel mailing list