search for: drb

Displaying 20 results from an estimated 459 matches for "drb".

Did you mean: db
2006 Oct 27
8
Error after moving to production server
so i have an after_create method on my track model that kicks off a background process that converts an mp3 to a swf. this is working fine locally on my machine, but upon moving it to my production server, i am getting the following error. I''ve only been using backgroundRB for like 48 hours, so i''m not really sure what this means or where to go. any ideas? DRb::DRbConnError (too large packet 1008813135): /usr/lib/ruby/1.8/drb/drb.rb:570:in `load'' /usr/lib/ruby/1.8/drb/drb.rb:629:in `recv_reply'' /usr/lib/ruby/1.8/drb/drb.r...
2007 Apr 09
1
Drb Connection error on multiple dispatch.fcgi ''s
Hi All, I''m using Backgroundrb as a general purpose long-running-task back-end (upload processing, email sending, etc), and it''s been a great solution. However I''ve recently run into some some intermittent connection issues that have me baffled. I''m running on apache2/fcgid and the problem occurs in bo...
2001 Jul 16
1
openssh 2.9p1 on Solaris 2.6 with AFS
...03:13 AM >>>>> "DRB" == David R Boldt <David> writes: DRB> Jan, DRB> here is the new patch: thanks. Maybe somebody will apply this to openssh cvs? DRB> alas I am still running amiss: DRB> In file included from /usr/athena/include/krb.h:50, DRB> from sshconnect1.c:22: DRB> /usr/...
2007 Nov 12
0
Workers calling Workers
Hello, We are working on a centralized report generating project, which calls for data processing on different servers and then centralizes the reports into a single project. What we would like to do is have a Monitor BackgrounDRb worker call another BackgrounDRb worker to process data on a different server, and then have our Monitor Worker collect the data and then store it according to our specs (all rails workers). We are doing some initial testing and trying to get your basic Hello World program working, so we set up...
2007 Apr 23
0
backgroundrb and REXML issue
Hi, I have an application that receives XML files, and then hands each one off to a backgroundrb worker to parse and store the info. Everything was working, until I needed to support a larger character set. So I added the following to the top of my XML files: <?xml version="1.0" encoding="ISO-8859-1"?> Adding this worked fine when I tested it without using backgrou...
2008 Jan 14
3
problem with backgroundrb
hi, i am using drb and it is working fine on my local pc on windows.. and after uploading the code to the server it was working for sometime but now it gives me error every time i invoke the process.. error--- uninitialized constant EmailWorker::Notifier - (NameError) /usr/lib64/ruby/gems/1.8/gems/activesupport-1....
2006 Sep 06
3
DRb error when using rails_spec on OS X
...9;'ve installed the plugin and bootstrapped it, and run ''script/rails_spec_runner'' (not rails_spec_server as the website currently reads, btw) in a separate shell, then in another shell I run ''script/rails_spec'' and get the following: /usr/local/lib/ruby/1.8/drb/drb.rb:837:in `getaddrinfo'': getaddrinfo: No address associated with nodename (SocketError) from /usr/local/lib/ruby/1.8/drb/drb.rb:837:in `open_server_inaddr_any'' from /usr/local/lib/ruby/1.8/drb/drb.rb:860:in `open_server'' from /usr/local/lib/rub...
2007 Aug 08
3
Cannot start workers in production mode
...gory_id], :description => "Importing CCG products for #{@ category.name}" }) Both of the category ID variables are just basic integers. I have other places in my app that I use workers, and they are all producing the same error. I get the following on stderr when I run script/backgroundrb run: undefined method `wait'' for nil:NilClass - (NoMethodError) /mnt/home/magicarsenal/admin/releases/20070807014939/vendor/plugins/backgroundrb/server/lib/backgroundrb/middleman.rb:217:in `new_worker'' /mnt/home/magicarsenal/admin/releases/20070807014939/vendor/plugins/background...
2007 Jul 25
17
DRb not starting
...tion_supplier=>{}, :supplier_description=>{}, :pub_date_sort => {:index => :untokenized_omit_norms, :term_vector => :no}, :location_id => {:index => :untokenized}, :tab => {:index => :untokenized}},:remote => false}) THis will do the ferret locally without the DRB server. Works ok. If I change this to: class Mutation < ActiveRecord::Base acts_as_ferret ({:fields => {:description=>{}, :product_id=>{:index => :untokenized}, :product_description=>{}, :product_label_description=>{}, :product_label_free=>{}, :product_product_...
2007 Apr 04
6
Exception when doing DRb remote calls from a BackgrounDRb worker
Hello, I am trying to make DRb calls to a external server from a backgrounDRb worker, but I''m getting always the next exception when I make the remote call. > ERROR: > drbunix:///tmp/backgroundrb.11175/experimenter_worker_3e899de945f0803a82cd257cfac316d0_0_0.0738904928422051 > - #<Errno::ENOENT: No such fil...
2007 May 22
0
BackgroundRb Server not responding
...cheduled 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...
2006 Feb 09
2
breakpointer error
Hi, I can''t get breakpointer to work on locomotive. Pretty sure it used to work... Any ideas?? Jeroen jeroen$ ruby script/breakpointer /Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/1.8/drb/drb.rb:828:in `getaddrinfo'': getaddrinfo: No address associated with nodename (SocketError) from /Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/1.8/drb/drb.rb:828:in `open_server_inaddr_any'' from /Applications/Locom...
2007 Oct 02
3
deadlocks in Drb Server
Hi, we still have the problem in that the Ferret Drb server dies on us sometimes. Looking through ferret_server.out and we come accross this: deadlock 0xb7261cb0: sleep:F(1012) - /usr/lib/ruby/1.8/drb/drb.rb:566 deadlock 0xb71d8654: sleep:F(409) - /usr/lib/ruby/1.8/drb/drb.rb:566 deadlock 0xb723f3e0: sleep:F(7) - /usr/lib/ruby/1.8/drb/drb.rb:566...
2007 Jan 23
0
Error while creating one worker from another
...d_missing'' /var/lib/gems/1.8/gems/slave-1.2.0/lib/slave.rb:211:in `close_unused_sockets_after_forking'' /var/lib/gems/1.8/gems/slave-1.2.0/lib/slave.rb:204:in `catch'' /var/lib/gems/1.8/gems/slave-1.2.0/lib/slave.rb:355:in `initialize'' /home/swistak/rails+backgroundrb/vendor/plugins/backgroundrb/server/lib/back groundrb/middleman.rb:210:in `new'' /home/swistak/rails+backgroundrb/vendor/plugins/backgroundrb/server/lib/back groundrb/middleman.rb:210:in `new_worker'' /home/swistak/rails+backgroundrb/vendor/plugins/backgroundrb/server/lib/back gro...
2007 Nov 30
1
backgroundrb not cleaning up tmp files?
I just had an interesting issue on a production system that has been running nicely for about a year. There were approximately 10,000 backgroundrb temp files in the /tmp directory. It looks like backgroundrb wasn''t cleaning them up. I noticed it with the following error: DRb::DRbConnError: drbunix:///tmp/backgroundrb.20015/ backgroundrb_logger_0_0.101544829808665 - #<Errno::ENOENT: No such file or directory - ///tmp/backgrou...
2006 Sep 28
1
upload_progress and DRb.start_service crashes
Whenever I tried to start mongrel_rails with the upload progress script, it would die with the following error: /usr/local/lib/ruby/1.8/drb/drb.rb:837:in `getaddrinfo'': getaddrinfo: No address associated with nodename (SocketError) from /usr/local/lib/ruby/1.8/drb/drb.rb:837:in `open_server_inaddr_any'' from /usr/local/lib/ruby/1.8/drb/drb.rb:860:in `open_server'' from /usr/local/...
2006 Jan 27
5
Multiple Apps running under Lighttpd with scgi on a Windows Box ... possible?
...://127.0.0.1:8999 :disable_signals: true :env: production Scgi.yaml #2 --- :host: 127.0.0.1 :password: ********** :port: 1000 :logfile: log/scgi.log :config: config/scgi.yaml :control_url: druby://127.0.0.1:8999 :disable_signals: true :env: production Heres the error I get: c:/ruby/lib/ruby/1.8/drb/drb.rb:853:in `initialize'': Only one usage of each sock et address (protocol/network address/port) is normally permitted. - bind(2) (Err no::EADDRINUSE) from c:/ruby/lib/ruby/1.8/drb/drb.rb:853:in `open'' from c:/ruby/lib/ruby/1.8/drb/drb.rb:853:in `open_server...
2006 Nov 20
4
Production RAILS_ENV / DB Selection
Hey all, I''m having some issues moving a project that incorporates Backgroundrb onto a staging server... For some reason (surely of my own doing), my RailsBase workers are insisting on using trying to access my development DB instead of my "production" DB. When I try to load a model object from within a worker, I get the following: 20061120-21:54:28 (26296) #<D...
2007 Apr 01
2
strange behavior after switching to DRb server
After switching to the DRb server, I am experiencing strange behavior when sorting on score. My app was working as expected before the switch. Both before and after the switch, my app sorts properly on other fields, such as date. For sorting on score, I am using the following option find_by_contents option: :sort =&...
2006 Aug 07
2
uninitialized constants in worker class
I am new to this list and relatively new to the backgroundrb plugin,. So first i will say hello to everybody here, especially to Ezra Zygmuntowicz! I played a little bit with a dummy worker and so far everything worked well. But now i want to do real work in a worker but now i get that error[1]. It looks like that the constants configured in environment* co...