Riak crash after starting

Steve Vinoski steve at basho.com
Sun Aug 31 09:32:02 EDT 2014


On Sun, Aug 31, 2014 at 5:26 AM, Yang Zhenguo <yangzhenguo at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20140831/01ba56ef/attachment.html>


More information about the riak-users mailing list