anonymous user

Forums   Register   Login   Forgot your login/password?   Search

Not rotating indices when over 2 GB.

Common forum | 1 | 2 | 3 | 4 | 5 | ... | 526 | 527 | 528 | 529 | next »» | Create new thread

thyone

Name: Peter Bosch
Posts: 7

2009-12-21 17:59:24 | reply!


Just found a little problem (step by step):

I call my index as follows:
$ sudo indexer [indexname] --rotate

This will index the mysql-table, which takes about 1 - 1.5 hour. After indexing, when
searchd has to rotate, it sends an error to searchd.log:

WARNING: rotating index '[indexname]': preread failed: read error in
/srv/sphinx/[indexname].new.spa; 2147479552 of 2431139872 bytes read; using old index

2147479552 bytes is almost 2048MB, so 2 GB. Is there some kind of maximum, or should I
start looking into my system to find the problem?

Thanks,

Peter

rhousham

Name: Richard Housham
Posts: 154

to: thyone, 2010-01-16 12:30:05 | reply!


> Just found a little problem (step by step):
>
> I call my index as follows:
> $ sudo indexer [indexname] --rotate
>
> This will index the mysql-table, which takes about 1 - 1.5 hour. After indexing, when
> searchd has to rotate, it sends an error to searchd.log:
>
> WARNING: rotating index '[indexname]': preread failed: read error in
> /srv/sphinx/[indexname].new.spa; 2147479552 of 2431139872 bytes read; using old index
>
> 2147479552 bytes is almost 2048MB, so 2 GB. Is there some kind of maximum, or should I
> start looking into my system to find the problem?
>
> Thanks,
>
> Peter


Possibly a config problem I'd look through and try and find it.
I might come accross this in a few days time - tryin to index a large forum.

Common forum | 1 | 2 | 3 | 4 | 5 | ... | 526 | 527 | 528 | 529 | next »» | Create new thread