configuration problem: riak.conf being ignored

2014-04-25 Thread Sean Allen
riak-2 we have the following in /etc/riak/riak.conf erlang.max_ports = 65536 erlang.max_ets_tables = 262144 however i get the following on startup: 2014-04-24 19:12:09.697 [warning] <0.799.0> riak_kv_env: Erlang ports limit of 1024 is low, at least 64000 is recommended 2014-04-24 19:12:09.698

Re: configuration problem: riak.conf being ignored

2014-04-25 Thread Sean Allen
More on this looking at the command line that started it, did/does pre-20 erlang not pick up the vm options correctly? /usr/lib64/riak/erts-5.10.3/bin/beam.smp -P 256000 -e 262144 -Q 65536 -A 64 -K true -W w -- -root /usr/lib64/riak -progname riak -- -home /opt/riak -- -boot /usr/lib64/riak/relea

Re: Riak as log aggregator

2014-04-25 Thread Guido Medina
Hi Bryce, There is very small chance a sessionID will repeat, let's assume that in theory it won't happen, that assume, there will be always a single writer per sessionID and such single writer will always happen to be the same writer, you want to lock using as locking key the session ID for

Re: configuration problem: riak.conf being ignored

2014-04-25 Thread Sean Allen
Setting ERL_MAX_PORTS and ERL_MAX_ETS_TABLES did have an effect. On Fri, Apr 25, 2014 at 5:47 AM, Sean Allen wrote: > More on this looking at the command line that started it, > > did/does pre-20 erlang not pick up the vm options correctly? > > /usr/lib64/riak/erts-5.10.3/bin/beam.smp -P 256000

Re: configuration problem: riak.conf being ignored

2014-04-25 Thread Joe DeVivo
It’s no coincidence that these are the two settings that have changed how they’re set between Erlang R15 and R16, but that’s not the whole story. It looks like ERL_MAX_PORTS and ERL_MAX_ETS_TABLES are both still valid environment variables in R16+.  If you use their R16 counterparts (+Q and +e),