Arnaud,

The 'stream_timeout' and 'emfile' should be correlated.  Whenever you see
the 'emfile' you should see a corresponding timeout.  The index server
errors causing the result collector to timeout later.  First, adjust your
file descriptor limit and then go from there.

For the 1.2 release a "repair" command has been added to rebuild KV or
index data for a given partition.  In releases before that you must reindex
all your data.  You don't have to worry about removing the current indexes
as merge index will garbage collect that for you as it merges.  As I said,
first I would fix the 'emfile' issue and then see if further action is
needed.

-Z

P.S. If you want to be absolutely sure what your FD limit is in Riak you
can `riak attach` and then `os:cmd("ulimit -n").`  Make sure to use Ctrl-D
to exit from the Riak shell.

On Mon, Jul 16, 2012 at 5:21 AM, Arnaud Wetzel <arnaud.wet...@gmail.com>wrote:

> Hi,
> Friday evening one of our riak node has reach his disk space limit during
> indexing in riak-search. Then after adding some nodes, some requests fail,
> and it is impossible to find the correlation between requests with error or
> those who succeed.
> The errors are :
> {{nocatch,stream_timeout},[{riak_search_op_utils,gather_stream_results,4}]}
> {timeout,range_loop}
>
> and sometimes (not always) :
>
> {{badmatch,{error,emfile}},[{mi_segment,iterate_by_keyinfo,7},{mi_server,'-lookup/8-lc$^1/1-1-',4},{mi_server,'-lookup/8-lc$^1/1-1-',4},{mi_server,lookup,8}]}
>
> So anyone else has experienced these errors ? Is it possible that they
> come from the disk over limit error ? How can I try to repair merge index
> data ? If it is not possible, what is the good process to delete entirely
> all the indexes (only indexes, keeping riak datas).
>
> Thank you very much.
>
> Regards.
>
> --
> Arnaud Wetzel
> KBRW Ad-Venture
> 13 rue st Anastase, 75003 Paris
>
> _______________________________________________
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to