Riak crash after starting

Yang Zhenguo yangzhenguo at gmail.com
Sun Aug 31 10:44:47 EDT 2014


Hi Steve,

Thanks a lot.

Regards,
Zhenguo @ www.prinbit.com


2014-08-31 21:32 GMT+08:00 Steve Vinoski <steve at basho.com>:

>
>
>
> 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/558a7c68/attachment.html>


More information about the riak-users mailing list