On Sun, Aug 31, 2014 at 5:26 AM, Yang Zhenguo <yangzhen...@gmail.com> wrote:

> My steps are as follows:
> 1. sudo riak start
> 2. run erl evn
> {ok, Pid} =  riakc_pb_socket:start_link("127.0.0.1", 8087).
> riakc_pb_socket:list_buckets(Pid).
>
> After about 30 seconds, the riak will stop(crash)
>
> Riak version is 2.0. Atached part of log.
> BTW, I have another web server cowboy running for handling http request.
>
> Thanks in advance
>
> Zhenguo
> www.prinbit.com
>
> ======================================================
> error.log
> 2014-08-31 17:14:05.974 [error] <0.287.0>
> {mochiweb_socket_server,310,{acceptor_error,{error,accept_failed}}}
> 2014-08-31 17:14:06.075 [error] <0.287.0>
> {mochiweb_socket_server,310,{acceptor_error,{error,accept_failed}}}
> 2014-08-31 17:14:06.847 [error] <0.3769.0> gen_server yz_events terminated
> with reason: no match of right hand value {error,emfile} in yz_schema:get/1
> line 45
>

The {error, emfile} here means you're hitting your max file descriptor
limit. Please see
http://docs.basho.com/riak/latest/ops/tuning/open-files-limit/ for how to
tune this limit properly.

--steve
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to