riak crash

francisco treacy francisco.treacy at gmail.com
Mon Nov 29 13:56:36 EST 2010


2010/11/29 David Smith <dizzyd at basho.com>:
> It looks like you had an interrupted syscall (!!) that wasn't handled
> by Erlang (which I find rather hard to believe). What version of Riak
> and what operating system are you using, please?

 =>  bin/riaksearch-admin status
1-minute stats for 'riaksearch at 127.0.0.1'
-------------------------------------------
vnode gets : 0
vnode_puts : 0
read_repairs : 0
vnode_gets_total : 23751
vnode_puts_total : 16458
node_gets : 0
node_gets_total : 7997
node_get_fsm_time_mean : undefined
node_get_fsm_time_median : undefined
node_get_fsm_time_95 : undefined
node_get_fsm_time_99 : undefined
node_get_fsm_time_100 : undefined
node_puts : 0
node_puts_total : 5526
node_put_fsm_time_mean : undefined
node_put_fsm_time_median : undefined
node_put_fsm_time_95 : undefined
node_put_fsm_time_99 : undefined
node_put_fsm_time_100 : undefined
read_repairs_total : 0
cpu_nprocs : 89
cpu_avg1 : 228
cpu_avg5 : 120
cpu_avg15 : 77
mem_total : 3827992000
mem_allocated : 3392196000
disk : [{"/",155954992,88},{"/Volumes/backup",243862672,47}]
nodename : 'riaksearch at 127.0.0.1'
connected_nodes : []
sys_driver_version : <<"1.5">>
sys_global_heaps_size : 0
sys_heap_type : private
sys_logical_processors : 2
sys_otp_release : <<"R13B04">>
sys_process_count : 468
sys_smp_support : true
sys_system_version : <<"Erlang R13B04 (erts-5.7.5) [source] [64-bit]
[smp:2:2] [rq:2] [async-threads:64] [hipe] [kernel-poll:true]">>
sys_system_architecture : <<"i386-apple-darwin10.3.0">>
sys_threads_enabled : true
sys_thread_pool_size : 64
sys_wordsize : 8
ring_members : ['riaksearch at 127.0.0.1']
ring_num_partitions : 64
ring_ownership : <<"[{'riaksearch at 127.0.0.1',64}]">>
ring_creation_size : 64
storage_backend : riak_kv_bitcask_backend
pbc_connects_total : 0
pbc_connects : 0
pbc_active : 0
luwak_version : <<"1.0">>
skerl_version : <<"0.1">>
riak_solr_version : <<"0.13.0">>
riak_search_version : <<"0.13.0">>
merge_index_version : <<"0.13.0">>
riak_search_core_version : <<"0.13.0">>
riak_kv_version : <<"0.13.0">>
bitcask_version : <<"1.1.4">>
riak_core_version : <<"0.13.0">>
qilr_version : <<"0.13.0">>
luke_version : <<"0.2.1">>
webmachine_version : <<"1.7.2">>
mochiweb_version : <<"1.7.1">>
erlang_js_version : <<"0.4.1">>
runtime_tools_version : <<"1.8.3">>
crypto_version : <<"1.6.4">>
os_mon_version : <<"2.2.5">>
sasl_version : <<"2.1.9">>
stdlib_version : <<"1.16.5">>
kernel_version : <<"2.13.5">>

That is, a plain Riak Search (0.13) downloaded from the Basho
downloads section (not any particular commit on Github).

>
> Also, this could be related to ulimit -n -- what do you set that to?
>

 =>  ulimit -n
2048

I cranked it up to prevent those errors caused by not enough available
open fds...

About the disk warning, I think it's safe to ignore?

 =>  df -h
Filesystem      Size   Used  Avail Capacity  Mounted on
/dev/disk0s2   149Gi  129Gi   19Gi    88%    /

Thanks,

Francisco


>
> On Mon, Nov 29, 2010 at 11:28 AM, francisco treacy
> <francisco.treacy at gmail.com> wrote:
>> Some days ago, Riak crashed on my dev machine. All I know is that
>> several concurrent writes could have been happening at the time of the
>> crash (possibly around 30).
>>
>> https://gist.github.com/717015
>>
>> Could somebody enlighten me here... what exactly went wrong?
>>
>> Thanks,
>> Francisco
>>
>> _______________________________________________
>> 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