Hello, I''m usin gferret and I''ve just attempted to build an index that contains 15,968,046 documents. I''ve rebuild the index from scratch, but when I try to search for some items I get this error: IOError: IO Error occured at <except.c>:79 in xraise Error occured in fs_store.c:289 - fsi_seek_i seeking pos -1284143798: <Invalid argument> This is happening when I''m trying to look up a document with id 13,677,803. Interestingly, any document after id 12,098,067 seems to trigger the error. Any ideas? Thanks! -Mike -- Posted via http://www.ruby-forum.com/.
On Thu, Jan 18, 2007 at 07:42:02AM +0100, Joe Mestople wrote:> Hello, > > I''m usin gferret and I''ve just attempted to build an index that contains > 15,968,046 documents. I''ve rebuild the index from scratch, but when I > try to search for some items I get this error: > > IOError: IO Error occured at <except.c>:79 in xraise > Error occured in fs_store.c:289 - fsi_seek_i > seeking pos -1284143798: <Invalid argument> > > This is happening when I''m trying to look up a document with id > 13,677,803. Interestingly, any document after id 12,098,067 seems to > trigger the error. > > Any ideas?maybe you hit some file size limit with your index? How large is it? Jens -- webit! Gesellschaft f?r neue Medien mbH www.webit.de Dipl.-Wirtschaftsingenieur Jens Kr?mer kraemer at webit.de Schnorrstra?e 76 Tel +49 351 46766 0 D-01069 Dresden Fax +49 351 46766 66
William Morgan
2007-Jan-18 17:07 UTC
[Ferret-talk] corrupt index immediately after rebuild
Excerpts from Jens Kraemer''s message of Thu Jan 18 01:32:57 -0800 2007:> maybe you hit some file size limit with your index?Also check to make sure you didn''t just run out of disk space. -- William <wmorgan-ferret at masanjin.net>
William Morgan wrote:> Excerpts from Jens Kraemer''s message of Thu Jan 18 01:32:57 -0800 2007: >> maybe you hit some file size limit with your index? > > Also check to make sure you didn''t just run out of disk space.file size is 3,711,610,109 bytes -- the volume is ext3 and it has 74% available so I don''t think it''s either running out of space or exceeding the maximum file size. Has anyone else ran into a similar problem? -- Posted via http://www.ruby-forum.com/.
I know that the the indexer hits a 2gig file limit (per file), which is a limit because of how ferret is compiled (I believe). What we''ve done to offset this was to, when indexing, we optimize the index every so often, so that we never hit this limit. (because the optimized file size is quite smaller than unoptimized). How many documents do you have indexed?> From: Joe Mestople <ferret.5.micboh at spamgourmet.com> > Reply-To: ferret-talk at rubyforge.org > Date: Thu, 18 Jan 2007 20:32:22 +0100 > To: ferret-talk at rubyforge.org > Subject: Re: [Ferret-talk] corrupt index immediately after rebuild > > William Morgan wrote: >> Excerpts from Jens Kraemer''s message of Thu Jan 18 01:32:57 -0800 2007: >>> maybe you hit some file size limit with your index? >> >> Also check to make sure you didn''t just run out of disk space. > > file size is 3,711,610,109 bytes -- the volume is ext3 and it has 74% > available so I don''t think it''s either running out of space or exceeding > the maximum file size. > > Has anyone else ran into a similar problem? > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Ferret-talk mailing list > Ferret-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/ferret-talk >
David Wennergren
2007-Jan-19 10:25 UTC
[Ferret-talk] corrupt index immediately after rebuild
Perhaps it''s the same problem as in this post: http://www.ruby-forum.com/topic/84237#151791 There is a 2GB limit to a single index file if you don''t compile Ferret with large-file support. An alternative is to use :max_merge_docs to stop index merging when segments reaches a certain size. Like this: index = Index::Index.new(:path => "path", :max_merge_docs => 150000) /David Wennergren Joe Mestople wrote:> William Morgan wrote: >> Excerpts from Jens Kraemer''s message of Thu Jan 18 01:32:57 -0800 2007: >>> maybe you hit some file size limit with your index? >> >> Also check to make sure you didn''t just run out of disk space. > > file size is 3,711,610,109 bytes -- the volume is ext3 and it has 74% > available so I don''t think it''s either running out of space or exceeding > the maximum file size. > > Has anyone else ran into a similar problem?-- Posted via http://www.ruby-forum.com/.