I'm setting up a new small riak cluster - 8 VMs, 4GB each. Riak starts and
dies after a few seconds on each VM. I'd like to figure out why.

I'm running riak 1.4.1, built from source on ubuntu 12.04 (32 bit). I have
AAE and search turned off and my backend is set to leveldb. Ring size is
64. All the other settings are default.

The crash.log files show errors that look like these:

2013-09-14 22:48:25 =SUPERVISOR REPORT====
     Supervisor: {local,riak_core_vnode_proxy_sup}
     Context:    shutdown_error
     Reason:
{{{function_clause,[{riak_kv_vnode,terminate,[{bad_return_value,{stop,{db_open,"IO
error:
./data/leveldb/1027618338748291114361965898003636498195577569280/000002.dbtmp:
Cannot allocate
memory"}}},undefined],[{file,"src/riak_kv_vnode.erl"},{line,838}]},{riak_core_vnode,terminate,3,[{file,"src/riak_core_vnode.erl"},{line,849}]},{gen_fsm,terminate,7,[{file,"gen_fsm.erl"},{line,586}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]},{gen_fsm,sync_send_event,[<0.19541.3>,wait_for_init,infinity]}},{gen_server,call,[riak_core_vnode_manager,{205523667749658222872393179600727299639115513856,riak_kv_vnode,get_vnode},infinity]}}
     Offender:
[{pid,<0.471.0>},{name,{riak_kv_vnode,205523667749658222872393179600727299639115513856}},{mfargs,{riak_core_vnode_proxy,start_link,[riak_kv_vnode,205523667749658222872393179600727299639115513856]}},{restart_type,permanent},{shutdown,5000},{child_type,worker}]

2013-09-14 22:48:25 =SUPERVISOR REPORT====
     Supervisor: {local,riak_core_sup}
     Context:    child_terminated
     Reason:     shutdown
     Offender:
[{pid,<0.151.0>},{name,riak_core_vnode_proxy_sup},{mfargs,{riak_core_vnode_proxy_sup,start_link,[]}},{restart_type,permanent},{shutdown,5000},{child_type,supervisor}]



I don't understand why riak "Cannot allocate memory" as my system memory
use is under 20%.  Is there a config parameter I must change?

Thanks,
Daniel
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to