Riak crash after starting

Yang Zhenguo yangzhenguo at gmail.com
Sun Aug 31 05:26:25 EDT 2014


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
2014-08-31 17:14:06.847 [error] <0.3769.0> CRASH REPORT Process yz_events
with 0 neighbours exited with reason: no match of right hand value
{error,emfile} in yz_schema:get/1 line 45 in gen_server:terminate/6 line 744
2014-08-31 17:14:06.848 [error] <0.533.0> Supervisor yz_general_sup had
child yz_events started with yz_events:start_link() at <0.3769.0> exit with
reason no match of right hand value {error,emfile} in yz_schema:get/1 line
45 in context child_terminated
2014-08-31 17:14:06.848 [error] <0.533.0> Supervisor yz_general_sup had
child yz_events started with yz_events:start_link() at <0.3769.0> exit with
reason reached_max_restart_intensity in context shutdown
2014-08-31 17:14:06.869 [error] <0.530.0> Supervisor yz_sup had child
yz_general_sup started with yz_general_sup:start_link() at <0.533.0> exit
with reason shutdown in context child_terminated
2014-08-31 17:14:06.869 [error] <0.530.0> Supervisor yz_sup had child
yz_general_sup started with yz_general_sup:start_link() at <0.533.0> exit
with reason reached_max_restart_intensity in context shutdown

crash.log
2014-08-31 17:14:06 =SUPERVISOR REPORT====
     Supervisor: {local,yz_general_sup}
     Context:    shutdown
     Reason:     reached_max_restart_intensity
     Offender:
[{pid,<0.3769.0>},{name,yz_events},{mfargs,{yz_events,start_link,[]}},{restart_type,permanent},{shutdown,5000},{child_type,worker}]

2014-08-31 17:14:06 =SUPERVISOR REPORT====
     Supervisor: {local,yz_sup}
     Context:    child_terminated
     Reason:     shutdown
     Offender:
[{pid,<0.533.0>},{name,yz_general_sup},{mfargs,{yz_general_sup,start_link,[]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]

2014-08-31 17:14:06 =SUPERVISOR REPORT====
     Supervisor: {local,yz_sup}
     Context:    shutdown
     Reason:     reached_max_restart_intensity
     Offender:
[{pid,<0.533.0>},{name,yz_general_sup},{mfargs,{yz_general_sup,start_link,[]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20140831/9d3d854d/attachment.html>


More information about the riak-users mailing list