Displaying 10 results from an estimated 10 matches for "lockerror".
2007 Feb 02
0
Error: uninitialized constant LockError
Hey Guys. So, I get this error every so often, and in sneaking at the code,
it seems that it could be an easy fix, where it''s looking for a LockError,
but I think it''s a LockException.
I''m on 0.10.13 with a very large index (about a million docs) that''s staged
on several servers, which are updated daily. (Using rails 1.1.6)
Thanks for all the hard work.
Here''s the stack trace:
/usr/lib/ruby/gems/1.8/gems/...
2007 Jan 11
1
Ferret Locking issues
Dave and all,
I run a medium RoR app using Ferret and acts_as_ferret. I get a lot of
lock errors. Not always but around 5% of all searches (aspecially during
peak periods). Here are the messages I get:
A NameError occurred in szukaj#index:
uninitialized constant Ferret::Index::Index::LockError
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:478:in
`const_missing''
/home/user/.gems/gems/ferret-0.10.13/lib/ferret/index.rb:674:in
`ensure_reader_open''
/home/user/.gems/gems/ferret-0.10.13/lib/ferret/index.rb:383:in `[]''
/usr/lib/ruby/1.8...
2007 Mar 23
7
Multiple servers for one index
...dir = Ferret::Store::FSDirectory.new(INDEX_PATH)
write_lock = dir.make_lock("lock")
write_lock.obtain
index << {:id => id, :type => ''create_test_type''}\
index.flush
write_lock.release
[...]
but it makes the processes freezes or raise a
Ferret::Store::Lock::LockError in my different attempts.
I tried to play with IndexWriter options like max_merge_docs,
merge_factor... but without success. Maybe there is a way to merge all
the Compound files every couple of writes instead of doing it on the
fly.
Is there a way to achieve my goal?
Dave please tell me you have...
2007 Sep 10
2
IO errors with 2 processes
...-
Error occured in fs_store.c:324 - fs_open_input
couldn''t create InStream
/var/rails/projectblue/website/public/../config/../index/production/content_page/_347i.fdt:
<No such file or directory>
----
and also some of these errors:
----
uninitialized constant Ferret::Index::Index::LockError
[RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:477:in
`const_missing''
----
Now I''ve got a daemon I''m using to spider some webpages which is an
independant process from the actual webserver. I thought I''d be able to
get away with it,...
2006 Aug 26
7
Erratic behavior with ferret 0.95 and acts_as_ferret
I am getting this issue also... Does anyone know what this is? When will
Acts as Ferret be available for v10?
Thanks for your help in desperation!
Caspar wrote:
> Okay previous post related to me trying to fix this problem with an
> upgrade to ferret 0.10.0 but acts as ferret is obviously not compatible
> with this new version of ferret.
> My app is about to go into production and
2006 Oct 17
9
Error : End-of-File Error occured at <except.c>
...rror occurred in home#event_info:
End-of-File Error occured at <except.c>:79 in xraise
Error occured in store.c:216 - is_refill
current pos = 778, file length = 778
/usr/local/lib/ruby/site_ruby/1.8/ferret/index.rb:517:in `close''
Second exception:
A Ferret::Store::Lock::LockError occurred in home#event_info:
Lock Error occured at <except.c>:103 in xpop_context
Error occured in index.c:5372 - iw_open
Couldn''t obtain write lock when opening IndexWriter
/usr/local/lib/ruby/site_ruby/1.8/ferret/index.rb:656:in `initialize''
--
Posted via ht...
2006 Oct 24
1
Locking issues when adding to the Index
...cument to the index when a new
ActiveRecord is created. I''m not sure if this has any impact on the
concurrency issues, but I thought I mention it.
Find attached the verbatim error message and the relevant part of the
stack trace.
Any ideas?
Cheers,
Andreas
--
Ferret::Store::Lock::LockError (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
):
/usr/lib/ruby/gems/1.8/gems/ferret-0.10.13/lib/ferret/index.rb:
664:in `initialize''
/usr/lib/ruby/gems/...
2007 Jan 10
2
Corrupt index and segfaults with heavy writes?
...iews an Image, a view counter is updated and the
Image is saved. This causes acts_as_ferret to re-add the model to the
index, so the index is getting heavy write use. As a side effect of
this, we see a lot of locking errors in the logs, which cause 500 error
for our users:
Ferret::Store::Lock::LockError (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
Eventually, we start seeing corruption errors like these (as an example):
End-of-File Error occured at <except.c>:...
2006 Dec 01
2
Ferret on Apache Installation
...es.
Is there some additional step that i need to do to Apache to get this
working.
Thanks
Pat
>>>>>>>>>>>> ERROR <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
uninitialized constant LockError
RAILS_ROOT: /home/mysite/www/public/../config/..
Application Trace | Framework Trace | Full Trace
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in
`const_missing''
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:13...
2007 Feb 25
9
Ferret 0.11.0-rc1
Hey folks,
Sorry for cross posting like this but this is an important
announcement for all Ferret users.
** Description **
Firstly for those who don''t know, Ferret is a full-text search library
which makes adding search to your application a breeze. It''s much
faster than MySQL full-text search as well most other search libraries
out there. It allows you to do Boolean (+ruby +