Displaying 3 results from an estimated 3 matches for "initial_do_work".
2007 Jan 27
0
Debugging stale backgroundrb
...e Slave is waiting for some process to exit.
After issuing "eval "ObjectSpace.each_object(Slave){|x| p x if
!x.status}"" I''ve got a strange result though:
#<Slave:0x34c0fb0 @shutdown=false,
@obj=#<BackgrounDRb::Worker::WorkerResults:0x34c0fc4
@worker_results={}, @initial_do_work=true, @results={}, @args=nil,
@jobkey=:backgroundrb_results>, @lifeline=#<Slave::LifeLine:0x34c0858
@pair=[#<Socket:0x34c07e0>, nil], @fds=[9, 10], @pid=27245,
@socket=#<Socket:0x34c07e0>, @object_id=27657260, @owner=27245>,
@socket_creation_attempts=42, @dumped=nil, @pid=27248...
2007 May 14
0
(no subject)
...tack-trace seems tin indicate an internal issue - is concurrency
related?
== 0.2.1 (Released November 28, 2006 - r162)
My workers continue to function; on the next iteration I believe.
Any thoughts are appreciated.
cheers,
Jodi
allow_concurrency=true
Scheduler.run failure: undefined method `initial_do_work'' for []:Array
Backtrace:
/var/www/html/the-soup/vendor/plugins/backgroundrb/server/lib/
backgroundrb/middleman.rb:342:in `schedule_worker''
/var/www/html/the-soup/vendor/plugins/backgroundrb/server/lib/
backgroundrb/scheduler.rb:46:in `run''
/var/www/html/the-soup/vendor/...
2007 Jun 06
2
struggling with stability
...070605-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-...