similar to: Running the DRb script

Displaying 20 results from an estimated 4000 matches similar to: "Running the DRb script"

2007 May 01
2
AAF and DRb server
I''ve installed the ferret gem. I installed AAF as a plugin into my vendor/plugins directory of my project. In development environment my searches work just fine, without any problems. For production I configured the ferret_server.yml file with correct information about the machine my DRb server is running on. I start the ferret server with the following command: ruby script/runner
2007 Apr 03
5
Inifinite loop problem with DRb server
Hi all, We''re attempting to use Ferret with the DRb server at the moment, and it doesn''t work, at all... = Executive Summary The DRb server process keeps on calling the remote index to the DRb server process... Which means DRb is calling itself, and itself, and itself, until Ruby kills the Thread with a SystemStackLevel error. = The excruciating details... # Mongrel is
2007 Aug 30
0
Method missing error after switching to DRB
I am getting these errors after switchign to dRb: It is trying to call ''add'' on MY SourceListing class, not extended with the ferret indexing methods. Any ideas on where to fix this? I''m combing through the code now. no luck, trying to call class method instead ferret server error undefined method `add'' for SourceListing:Class
2007 Apr 08
10
[ActsAsFerret] Fatal failed to allocate memory in DRb
I''m using DRb with edge [AAF] and my server is really fast reaching 3GB+ of memory and soon it will crash with this message: [FATAL] failed to allocate memory Now its like this: 10542 bbs 2 59 0 3649M 3647M sleep 1:27 0.10% runner Anybody has any ideas on this? -- Posted via http://www.ruby-forum.com/.
2007 Mar 05
3
programatically stopping acts_as_ferret drb server
I need a way to kill the ferret_server drb process programatically, so I can start/stop it as part of the capistrano deployment process. This should be as simple as adding some sort of stop method to ActsAsFerret::Remote::Server. I was just messing around and was able to do it by modifying method_missing to look for the :stop method and then calling DRb.thread.exit -- this is not good enough for
2007 Apr 18
1
stack level too deep for method missing when using drb
I set up ferret and it''s running fine normally. Now I want to hook up the backgroundrb server. However whenever I try to do a search, I get this error: (druby://localhost:9010) /usr/local/lib/ruby/1.8/drb/drb.rb:1075:in `method_missing'' (druby://localhost:9010) ./vendor/plugins/acts_as_ferret/lib/remote_index.rb:20:in `find_id_by_contents'' (druby://localhost:9010)
2007 Dec 02
1
solaris SMF to start ferret drb server
Jesse Grosjean wrote: > I''m trying to write a solaris SMF file to launch the ferret drb server. Hmm, I think I''ve hit a similar problem. I''ve just upgraded to the latest ferret trunk from an old aaf stable where the script/ferret_start and script/ferret_stop scripts were still in use. now if I call the old script... RAILS_ENV=production script/ferret_start
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 deadlock 0xb72607c0: sleep:F(11) -
2007 Nov 20
2
Question on Deploying a Ferret DRb server
(Sorry if some people see this twice. I originally posted this question from ruby-forum.com, but didn''t realize that the Ferret forum was a mirror and that I actually wasn''t a member.) Anyway, I''ve read all the documentation I could find, and read most of this forum, but I''m a still a little confused on running a ferret DRb server. All the examples seem to be
2007 Jun 28
1
DRb server crashing
I''m having a problem where the DRb server seems to be disappearing (crashing?) and I don''t know how to track down the cause or work around the problem. Unfortunately I haven''t found a way to reproduce the problem, but it seems to happen fairly often (maybe once a day). Other then that ferret seems to be working well. I can''t seem to find any trace of the
2008 Aug 20
1
acts_as_ferret and DRb server errors
I am seeing this in my ferret_server.log when I do a search: DRb server: ensure_index_exists for class Myclass1 DRb server: ensure_index_exists for class Myclass2 DRb server: ensure_index_exists for class Myclass3 DRb server: ensure_index_exists for class Myclass4 #method_missing(:id_multi_search, ["Myclass1", "test*", ["Myclass4", "Myclass3",
2007 Sep 20
5
Ferret DRB, UTF-8, Mongrel
I have spent days trying to figure out how to get UTF-8 working with my site. Here''s my environment: Linux version 2.6.16.29-xen_3.0.3.0 Ruby 1.8.4 (2005-12-24 [i386-linux] Rails 1.2.3 mongrel (1.0.1) mongrel_cluster (1.0.2, 0.2.1) ferret (0.11.4) acts_as_ferret stable plugin Ferret DRB server When I don''t use an analyzer with my acts_as_ferret declaration, everything works
2007 Oct 03
3
The ferret logs
Hi. We''ve had some problems with ferret not being able to load our classes (stack trace below for the curious). I nailed it down to a deployment issue, where an old instance of ferret drb was running. I don''t understand the details quite yet, but the result was the the old ferret was never shutdown during redeployment, and attempts were made to start up a new one. Anywho,
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 => Ferret::Search::SortField::SCORE Before switching to DRb, this worked
2007 Mar 31
8
Problem with setting up remote indexing
Hello, I have been trying to set up the remote indexing for acts_as_ferret and followed the guide here: http://projects.jkraemer.net/acts_as_ferret/wiki/DrbServer I added :remote => true to my models and then specified host and port for the production environment. After defining the host/port for production, I tried to run my development server and received the following error:
2007 Apr 20
1
Launching DRb server on reboot
I''m hoping for a little insight. We''re using ferret with DRb server and having a hard time getting it to come back up on reboot of the machine. In our RAILS_ROOT directory, we''ve got a script named start_ferret. Here''s the content: #!/bin/bash FERRET_USE_LOCAL_INDEX=1 script/runner -e production vendor/plugins/acts_as_ferret/script/ferret_start
2007 Nov 11
5
undefined method `add''
We''ve been running into problems with ferret indexing lately. The problem is intermittent and some times it persists. Just got this after wiping the index and redeploying: NoMethodError (undefined method `add'' for Solution:Class): (druby://10.1.65.87:9009) /data/releases/20071111152414/vendor/rails/activerecord/lib/active_record/base.rb:1238:in `method_missing''
2007 Mar 31
5
DRb server & aaf gem
I''m having problems getting the DRb server running with the aaf gem. I tried it with the plugin installed in my application, and it worked. I suspect the problem has something to do with the startup scripts expecting certain files to be in certain relative file paths. Any insights are appreciated, and maybe if you have time you can update the wiki document :) Thanks for a great
2007 Jun 18
2
"No such file or directory - script" Error on Model.rebuild
Hi, Having recently converted to using ferret_server on my staging site my deployment is now failing due to the following error when attempting to rebuild the indexes on my models: from (irb):1>> Post.rebuild_index Errno::ENOENT: No such file or directory - script from (druby://127.2.0.1:9100) /usr/local/lib/ruby/1.8/fileutils.rb:243:in `mkdir'' from (druby://127.2.0.1:9100)
2007 Apr 26
1
AAF, drb and UTF-8
Hi all, After switching from "regular" AAF to drb based my app is no longer handling nonlatin chars. Any hints? -- Posted via http://www.ruby-forum.com/.