IO errors with 2 processes

Hi All,
I’m using acts as ferret and getting a lot of these errors:

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:

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, since the daemon is the only thing that writes to the
database (the web server just does reads.)

Do you think this is causing the problem? Any solutions?

Thanks,
Chris.

On Mon, Sep 10, 2007 at 06:22:41PM +0200, Chris W. wrote:

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, since the daemon is the only thing that writes to the
database (the web server just does reads.)

Do you think this is causing the problem? Any solutions?

most probably it is. When you create (rebuild) a new index where the old
one was, searches will fail because the old index isn’t there anymore.

Try building the new index in a separate directory, or use the DRb
server which exactly does this.

Cheers,
Jens


Jens Krämer
webit! Gesellschaft für neue Medien mbH
Schnorrstraße 76 | 01069 Dresden
Telefon +49 351 46766-0 | Telefax +49 351 46766-66
[email protected] | www.webit.de

Amtsgericht Dresden | HRB 15422
GF Sven Haubold, Hagen Malessa

Thanks for the reply, I’ll do it.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs