Displaying 10 results from an estimated 10 matches for "workerlogger".
2007 Feb 14
1
Scheduling in backgroundrb not working
...er.send_emails_to_people
worker.delete
end
end
--------------------------backgroundrb_server.log---------------------------------------------
I am in do work
20070213-20:15:22 (29661) I am in send_emails_to_people
20070213-20:15:22 (29661) I am in loop
20070213-20:16:04 (29668) Starting WorkerLogger
20070213-20:16:05 (29669) In ResultsWorker
20070213-20:16:07 (29669) I am in do work
20070213-20:16:07 (29669) I am in send_emails_to_evaluators
20070213-20:16:07 (29669) I am in loop
20070213-20:16:13 (29669) I am in loop
20070213-20:16:19 (29669) I am in loop
20070214-13:40:47 (1672) Starting Wo...
2006 Nov 08
3
0.2.0 worker/slave creation
We ran into some problems accessing a freshly created worker, and had to
insert a sleep of 1 second to get it to work. It looks like Ezra and skaar
already know this:
from middleman.rb:
# HACK: there is a race in the worker/slave creation, we
# currently need to sleep between create.
sleep 0.1
You might want to increase it to 1 second for those of us on slowly mac
books.
2006 Dec 08
2
trouble using ActiveRecord classes
...nt}")
rescue
logger.debug("Got error: #{$!}")
end
pub = Publication.find(@publication_id)
pub.publish_for_date(end_date)
end
end
PublishWorker.register
=============================
In the log/backgroundrb.log file I see:
20061208-17:23:38 (3611) Starting WorkerLogger
20061208-17:23:38 (3612) In ResultsWorker
20061208-17:23:54 (3612) PublishWorker args: {:publication_id=>"1"}
20061208-17:23:54 (3612) Publication id: 1
20061208-17:23:54 (3612) End date: Fri Dec 08 23:23:54 UTC 2006
20061208-17:23:54 (3612) In begin block
20061208-17:23:54 (3612) Publ...
2007 Mar 13
5
worker starting twice
...m restart quickly if any of
them should crash. One odd thing I''ve noticed is that one of my
workers, with the key "mr", seems to start twice (without the first
one having completed). I''ve got some logging that occurs when each
starts:
20070313-15:45:17 (5594) Starting WorkerLogger
20070313-15:45:17 (5595) In ResultsWorker
20070313-15:45:21 (5595) MbReceiver mr started.
20070313-15:45:21 (5595) Sender s started
20070313-15:45:22 (5595) MbSender ms1 started
20070313-15:45:22 (5595) MbSender ms2 started
20070313-15:45:22 (5595) Receiver r started
20070313-15:45:30 (5595) MbRece...
2007 Jun 06
2
struggling with stability
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''
2007 Jun 21
0
config file questions
...ar-
time.net/releases/20070621035836/lib/workers
20070621-14:59:39 (10124) protocol: druby
20070621-14:59:39 (10124) uri: druby://192.168.1.101:2000
20070621-14:59:39 (10124) timer_sleep: 60
20070621-14:59:39 (10124) Installed DRb ACL
20070621-14:59:41 (10127) Starting worker:
BackgrounDRb::Worker::WorkerLogger backgroundrb_logger (backgroundrb_logger)
()
20070621-14:59:41 (10127) Starting worker:
BackgrounDRb::Worker::WorkerResults backgroundrb_results
(backgroundrb_results) ()
20070621-14:59:41 (10127) Loading Worker Class File: /var/www/near-
time.net/releases/20070621035836/lib/workers/grab_feed_worke...
2006 Nov 20
2
schedule support on latest svn, a question
...(31960) protocol: drbunix
20061120-17:04:52 (31960) uri: drbunix:///tmp/backgroundrbunix_localhost_2000
20061120-17:04:52 (31960) config:
/home/ed/Documents/test/config/backgroundrb.yml
20061120-17:04:52 (31960) rails_env: development
20061120-17:04:52 (31960) Starting worker:
BackgrounDRb::Worker::WorkerLogger backgroundrb_logger
(backgroundrb_logger) ()
20061120-17:04:52 (31960) Starting worker:
BackgrounDRb::Worker::WorkerResults backgroundrb_results
(backgroundrb_results) ()
20061120-17:04:52 (31960) Loading Worker Class File:
/home/ed/Documents/test/lib/workers/document_sorter_worker.rb
20061120-17:0...
2007 Mar 13
3
Scheduled worker dies after about 30-45 runs
...14:31 (24026) acl: denyallallowlocalhost 127.0.0.1orderdeny
,allow
20070312-18:14:31 (24026) rails_env: development
20070312-18:14:31 (24026) timer_sleep: 60
20070312-18:14:31 (24026) port: 22222
20070312-18:14:31 (24026) pool_size: 5
20070312-18:14:31 (24028) Starting worker:
BackgrounDRb::Worker::WorkerLogger backgroundrb_logger (backgroundrb_logger)
()
20070312-18:14:31 (24028) Starting worker:
BackgrounDRb::Worker::WorkerResults backgroundrb_results
(backgroundrb_results) ()
20070312-18:14:31 (24028) Loading Worker Class File:
/home/david/redclay/lib/workers/variant_addition_worker.rb
20070312-18:14:3...
2007 Jan 27
0
Debugging stale backgroundrb
...936927155",
@at_exit=nil, @waiter=#<Thread:0x34c06c8 sleep>,
@uri="drbunix:///tmp/backgroundrb.27243/backgroundrb_results_0_0.488948936927155",
@psname="backgroundrb_results", @threadsafe=false>
#<Slave:0x34d7fa8 @shutdown=false,
@obj=#<BackgrounDRb::Worker::WorkerLogger:0x34d81c4
@initial_do_work=true, @results={}, @args=nil,
@jobkey=:backgroundrb_logger>, @lifeline=#<Slave::LifeLine:0x34d7864
@pair=[#<Socket:0x34d77ec>, nil], @fds=[5, 6], @pid=27245,
@socket=#<Socket:0x34d77ec>, @object_id=27704370, @owner=27245>,
@socket_creation_attempts=42...
2007 Nov 12
0
Workers calling Workers
...:job_key => producer_key,
:args => producer_args
)
producer = task.middleman.worker(producer_key)
# Logfile created on Fri Nov 09 17:30:03 -0500 2007 by logger.rb/1.5.2.9
20071109-17:30:03 (27237) Starting WorkerLogger
20071109-17:30:04 (27238) In ResultsWorker
20071109-17:30:20 (27238) Work started
20071109-17:30:20 (27238) 0xdba48138 is recycled object - (RangeError)
20071109-17:30:20 (27238) /usr/local/lib/ruby/1.8/drb/drb.rb:375:in
`_id2ref''
20071109-17:30:20 (27238) /usr/local/lib/ruby/1.8/dr...