Re: [ANNC] Riak 1.4.0 RC1

2013-06-27 Thread Wu Ray
I'm just a bit curiosity about new riak1.4, after get rid of several
crypto-3.0 compatible problems, it failed when build riak_kv, so it looks
like that 1.4 still can not build on R16B01,  will it work with R16 in the
future? any clue about it?

Best Regards.
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


Re: [ANNC] Riak 1.4.0 RC1

2013-06-27 Thread Jon Meredith
Riak 1.4 is targeted against the R15 series.  We have a few branches that
make it work with R16, but had some performance issues we didn't have time
to investigate and resolve before the release.

We are planning to investigate moving to R16 for our next major release.

Jon


On Thu, Jun 27, 2013 at 4:33 PM, Wu Ray  wrote:

> I'm just a bit curiosity about new riak1.4, after get rid of several
> crypto-3.0 compatible problems, it failed when build riak_kv, so it looks
> like that 1.4 still can not build on R16B01,  will it work with R16 in the
> future? any clue about it?
>
> Best Regards.
>
> ___
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>


-- 
Jon Meredith
VP, Engineering
Basho Technologies, Inc.
jmered...@basho.com
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


Re: [ANNC] Riak 1.4.0 RC1

2013-06-27 Thread Wu Ray
Thanks for your reply.

It seems that Riak work well with Erlang R15B03, since the error with
'riak-admin status' had been fixed for a long time, Although your latest
installation tutorials still not recommend R15B02/03, does it a bit
outdated? :)
http://docs.basho.com/riak/latest/tutorials/installation/Installing-on-Debian-and-Ubuntu/


On Thu, Jun 27, 2013 at 3:39 PM, Jon Meredith  wrote:

> Riak 1.4 is targeted against the R15 series.  We have a few branches that
> make it work with R16, but had some performance issues we didn't have time
> to investigate and resolve before the release.
>
> We are planning to investigate moving to R16 for our next major release.
>
> Jon
>
>
> On Thu, Jun 27, 2013 at 4:33 PM, Wu Ray  wrote:
>
>> I'm just a bit curiosity about new riak1.4, after get rid of several
>> crypto-3.0 compatible problems, it failed when build riak_kv, so it looks
>> like that 1.4 still can not build on R16B01,  will it work with R16 in the
>> future? any clue about it?
>>
>> Best Regards.
>>
>> ___
>> riak-users mailing list
>> riak-users@lists.basho.com
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>>
>>
>
>
> --
> Jon Meredith
> VP, Engineering
> Basho Technologies, Inc.
> jmered...@basho.com
>
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


Riak database fails after a short period

2013-06-27 Thread Kirill K.
Hi,

I created a simple erlang application which periodically collects required
data and puts it in a riak database.

As I start my application it runs smoothly.. but after a period of time it
stucks as PUT requests to riak database becomes too slow.. It is logs from
my app:

2013-06-26 12:44:09.090 [info] <0.60.0> data processed in [16476 ms]
2013-06-26 12:45:51.472 [info] <0.60.0> data processed in [18793 ms]
...
2013-06-26 12:57:28.138 [info] <0.60.0> data processed in [15135 ms]
2013-06-26 13:07:01.484 [info] <0.60.0> data processed in [488420 ms]
2013-06-26 14:03:11.561 [info] <0.60.0> data processed in [3370075 ms]

In riak crash logs I can see a lot of messages like

2013-06-26 17:06:20 =CRASH REPORT
crasher:
initial call: riak_kv_index_hashtree:init/1
pid: <0.13660.7>
registered_name: []
exception exit: {{{badmatch,{error,{db_open,"IO error: ./data/anti_entropy/
433883298582611803841718934712646521460354973696/MANIFEST-04:
Cannot allocate memory"}}}, [{hashtree,new_segment_store,2,
[{file,"src/hashtree.erl"},{line,499}]},
{hashtree,new,2,[{file,"src/hashtree.erl"},{line,215}]},
{riak_kv_index_hashtree,do_new_tree,2,
[{file,"src/riak_kv_index_hashtree.erl"},
{line,426}]},{lists,foldl,3,[{file,"lists.erl"},
{line,1197}]},{riak_kv_index_hashtree,
init_trees,2,[{file,"src/riak_kv_index_hashtree.erl"},
{line,368}]},{riak_kv_index_hashtree,init,1,
[{file,"src/riak_kv_index_hashtree.erl"},
{line,225}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,304}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]},
[{gen_server,init_it,6,[{file,"gen_server.erl"},{line,328}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,227}]}]}
ancestors: [<0.955.0>,riak_core_vnode_sup,riak_core_sup,<0.129.0>]
messages: []
links: []
dictionary: []
trap_exit: false
status: running
heap_size: 1597
stack_size: 24
reductions: 593
neighbours:

I can see the same behavior on Amazon AWS and local virtual machine. my
VM's are quite small 512-1024 mb.. AWS is Micro, so it has the same amount
of memory.

There are no cluster currently. Just single node with riak and my app
running on it.

I've checked riak documentation and basic things they recommend to do is to
increase ulimit and to update sysctl. So, my server ulimit shows: ulimit -n
65536 AND sysctl updated as recommended.

I've tried bitcask and eleveldb, but result is the same.

Currently, I can't figure out what is broken and why riak Cannot allocate
memory..

Thanks.


Kirill
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com