Displaying 20 results from an estimated 7000 matches similar to: "Mongrel segfaults"
2007 Apr 21
5
Thinking of using aaf- looking for advice
Hi-
I''m technical lead at Lingr (http://www.lingr.com), a chatroom-based
social networking site. We''ve currently got several million user
utterances stored in MySQL, and we''re looking to build a local search
functionality. I''ve played around with aaf and I really like it, but I
have some questions.
1. Is anyone out there using aaf to index a corpus of this
2007 Sep 27
5
Remote index blocks?
Using the Drb allows me to synchronize writes to the index in a multi
mongrel environment. I was under the impression that the remote index
would not block if two mongrels were searching the index. Is that the
case? This line in ferret_server.rb makes me think otherwise:
# Calls are not queued atm, so this will block until the call
returned.
#
def method_missing(name,
2007 Jan 10
2
Corrupt index and segfaults with heavy writes?
Hi everyone,
We''re running a fairly heavily used Rails app that uses ferret (and
acts_as_ferret) for search. We''re running on mongrel+Apache, Ruby
1.8.4, and ferret 0.10.13. We''re indexing a handful of attributes on
our "Image" and "User" models.
After the system has been running for several days, the index gradually
becomes corrupted, and ferret
2007 Oct 04
2
Offline indexing issues
If I disable ferret in my environment file and then run a cron job
every hour to index the records that have been added/changed, do I
enable Ferret just in the script that does the hourly indexing? Or do
I somehow need to tell the process that runs the Ferret DRB server
that it should start writing to the index again? Thanks in advance.
Erik
2006 Nov 28
17
Index not being updated
My index is not being updated when I add new records or amend existing
ones.
Can anyone point me in the direction of where I should be looking for
what is going wrong?
I''m running this in the production environment.
--
Posted via http://www.ruby-forum.com/.
2007 Jul 25
17
DRb not starting
Hi,
I have my Model as follows:
class Mutation < ActiveRecord::Base
acts_as_ferret ({:fields => {:description=>{},
:product_id=>{:index => :untokenized},
:product_description=>{},
:product_label_description=>{},
:product_label_free=>{},
:product_product_id_supplier=>{},
:product_description_supplier=>{},
:supplier_description=>{},
:pub_date_sort
2006 Sep 18
3
Automatic reindexing of associated columns acts_as_taggable
Hi,
So i''m trying to use acts_as_taggable with the acts_as_ferret plugin,
where I have Post.rb model, which has a method tag_list made available
through acts_as_taggable, as returns a string of associated tag words
from the tags table (tag.rb). I''ve set up my Post.rb model in the
following way.
class Post < ActiveRecord::Base
acts_as_taggable
acts_as_ferret
2007 Feb 04
10
[AAF] remote indexing via DRb with acts_as_ferret
Hi!
Aaf trunk has undergone several major refactorings the last days, with
the result that you can now transparently switch your app from local
to remote indexing and back :-)
If you plan to scale your app to more than one physical machine, or
if you have problems with corrupted indexes and the like under high
load, you really should give this a try.
I wrote some documentation to get you
2007 Jul 03
6
How index works!
Hi, i''ve a project in wich i have 2 different rails apps accessing the
same DB.
The backoffice, as usual, changes data.
The frontoffice has a search capabilities with acts_as_ferret
(paginated) for search.
Maybe this is a newbie question but, when i delete index and restart
front app all the articles are indexed, but the new one''s (via
backoffice) are not searchable.
Does
2006 Nov 28
4
Update/Create record only if field is true
I have a sellable flag in my database. I''m trying to have ferret only
add/update records where sellable == true. What is the best way to do
this? I''ve tried editing instance_methods.rb in the AAF, but I still
can''t get it to work.
Thanks for the help
--
Posted via http://www.ruby-forum.com/.
2007 Jul 02
8
Strange intermittent no search results problem
Hello,
First the specs:
ruby 1.8.6, rails 1.2.3, ferret 0.11.4, mongrel 1.0.1, mongrel_cluster 0.2.1
And the model''s aaf config:
# Ferret search engine
acts_as_ferret({:fields => {:name => {:boost => 10},
:summary => {:boost => 2},
:body => {:boost => 1, :store =>
:no},
2007 Sep 05
6
aaf index rebuild problems on windows
hello list!
i''m still having massive problems with index rebuilds.
after i recently switched to the DRb mode i was hoping to get rid of the
problems with locked files and such.
but even with DRb and the latest stable version of acts_as_ferret my
index rebuilds are failing
C:\Informer>ruby script/console production
Loading production environment.
>> LegacyInfobase.rebuild_index
2007 Jun 06
6
Is anyone successfully using acts_as_ferret with Ferret 0.11.4?
Hi all,
I upgraded from Ferret 0.11.3 to Ferret 0.11.4 because I was getting
intermittent segfaults that seemed to be due to a bug which was fixed
(changeset 749).
Unfortunately, 0.11.4 + acts_as_ferret seems to be a bad combination. I''m
getting the some "fs_store/File Not Found Error occured at <except.c>:117"
which was reported in the "Constant 0.11.4
2007 Sep 11
7
aaf requires drb?
Hi,
I''ve just read some an article
(http://www.jroller.com/BrightCandle/entry/oversights_in_rails_plugins_really.)
This article (and the comment,) seem to imply that drb is required if
running under a fastcgi kind of deployment. Is this true?
Thanks,
Chris.
ps this is for a different server then my previous question.
--
Posted via http://www.ruby-forum.com/.
2007 May 15
12
AAF quirks in production mode
So my ferret behaves nicely in dev mode, but I just deployed and now
he is not happy!
First thing I noticed was that in general my app would not start with
a folder called "development" in my index folder, so I changed it to
"production" and now my app is functioning.
However, when I try to search I get errors, which you can see here:
http://pastie.caboo.se/61767
Im
2007 May 09
6
more_like_this
Hi,
I''m using acts_as_ferret in my rails application and I''d like to use
more_like_this to retrieve some ''similar'' item suggestions. I have a
class ''items'' which has a status field and I need to retrieve items that
only have one of the two possible statuses.
Looking at the more_like_this method indicates it supports an
:append_to_query
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 May 24
2
Strange Problem with AAF DRB connection
Hi all!
We use the DRB-Server Backend and are getting strange DRb::DRbConnErrors
lately. It started with:
too large packet 687865856
(druby:/10.0.0.10:9010) /usr/lib/ruby/1.8/drb/drb.rb:573:in `load''
and later only this one:
premature marshal format(can''t read)
(druby:/10.0.0.10:9010) /usr/lib/ruby/1.8/drb/drb.rb:580:in `load''
Do you have any ideas what that
2007 Apr 19
7
Lock errors and segfaults
Greetings,
I''ve been using ferret with great results now for a while, but in the last week, I''ve
been running into some issues.
I will occasionally see this message:
Exception Message: Lock Error occured at <except.c>:103 in xpop_context
Error occured in index.c:5368 - iw_open
Couldn''t obtain write lock when opening IndexWriter
Which is accompanied by
2007 Oct 05
5
DRbConnError when using script/runner
I am running ferret (0.11.4) and acts_as_ferret (stable from svn) in a
rails 1.2.3 app in production using the DRb server. I recently upgraded
my configuration and the method with which I start and stop the server
no longer works: Here is the command I would like to use (and have used
in the past) to start the aaf server:
$ /Library/WebServer/rails/ccdb/current/script/runner -e production