ring_creation_size and Innostore

Sean Cribbs sean at basho.com
Tue Jun 8 11:08:57 EDT 2010


How many nodes are in your cluster? (We recommend 10-50 partitions per node) There is a case where innostore needs to do repair on its tables during startup; if this takes too long, the startup will fail.

Sean Cribbs <sean at basho.com>
Developer Advocate
Basho Technologies, Inc.
http://basho.com/

On Jun 8, 2010, at 10:12 AM, Germain Maurice wrote:

> I have a problem with setting the ring_creation_size over Innostore.
> The default value is 64 but when i set ring_creation_size to 1024, 512, or 256 i always get this following error, except to "128" value. I deleted /riak/ring/* and /riak/innodb/* each time i changed the value.
> 
> Why i can't get more than 128 partitions ?
> 
> Regards,
> Germain
> 
> ===============
> InnoDB: Doublewrite buffer not found: creating new
> InnoDB: Doublewrite buffer created
> InnoDB: Creating foreign key constraint system tables
> InnoDB: Foreign key constraint system tables created
> 100608 15:55:03 Embedded InnoDB 1.0.6.6750 started; log sequence number 0
> Innostore: Could not create port [lock=0xb45b8398, cv=0xb45b83e0]
> 
> =ERROR REPORT==== 8-Jun-2010::15:55:03 ===
> ** Generic server riak_kv_vnode_master terminating
> ** Last message in was {'$gen_cast',
>                           {start_vnode,
>                               1273104941893716213903991084748949661653409988608}}
> ** When Server state == {state,12307,[]}
> ** Reason for termination ==
> ** {{badmatch,{error,{enomem,[{erlang,open_port,
>                                      [{spawn,innostore_drv},[binary]]},
>                              {innostore,connect,0},
>                              {innostore_riak,start,2},
>                              {riak_kv_vnode,init,1},
>                              {gen_fsm,init_it,6},
>                              {proc_lib,init_p_do_apply,3}]}}},
>    [{riak_kv_vnode_master,get_vnode,2},
>     {riak_kv_vnode_master,handle_cast,2},
>     {gen_server,handle_msg,5},
>     {proc_lib,init_p_do_apply,3}]}
> 
> 
> 
> 
> -- 
> Germain Maurice
> Administrateur Système/Réseau
> Tel : +33.(0)1.42.43.54.33
> 
> http://www.linkfluence.net
> 
> 
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com




More information about the riak-users mailing list