Java client -- slow to shutdown

2016-11-23 Thread Toby Corkindale
Hi, I'm using the Java client via protocol buffers to Riak. (Actually I'm using it via Scala 2.11.8 on OpenJDK 8) After calling client.shutdown(), there is always a delay of 4 seconds before the app actually exits. Why is this, and what can I do about it? To demonstrate the issue, use these files

Re: Riak CS: avoiding RAM overflow and OOM killer

2016-11-23 Thread Alexander Sicular
Hello DeadZen, Yes, networking interconnect becomes a bigger issue with more nodes in the cluster. A Riak cluster is actually a fully meshed network of erlang virtual machines. Multiple 1/10 gig nics dedicated to inter/intra networking are your friends. That said, we have many customers running

Re: Riak CS: avoiding RAM overflow and OOM killer

2016-11-23 Thread DeadZen
ok I loled at this. then got worries trump could win a node election. anyways. 24gigs per riak server is not a bad safe bet. Erlang in general is ram heavy. It uses it more effectively then most languages wrt concurrency, but ram is the fuel for concurrency and buffer for operations, especially du

Re: rpberrorresp - Unable to access functioning riak node

2016-11-23 Thread Luke Bakken
Hi Andre, Please remember to use "reply all" so the entire list can learn from our communication. There may be a bug where you aren't getting the text of the "rpberrorresp" message. What you should do is check the error.log file on both of your Riak nodes and look at the contents. There may be a

Re: rpberrorresp - Unable to access functioning riak node

2016-11-23 Thread Luke Bakken
Hi Andre, If you remove the load balancer, does it work? -- Luke Bakken Engineer lbak...@basho.com On Tue, Nov 22, 2016 at 10:56 AM, A R wrote: > To whom it may concern, > > > I've set up a 2 riak ts nodes and a load-balancer on independent machines. > I'm able to successfully create tables, li

rpberrorresp - Unable to access functioning riak node

2016-11-23 Thread A R
To whom it may concern, I've set up a 2 riak ts nodes and a load-balancer on independent machines. I'm able to successfully create tables, list keys and buckets using the C# SDK but am unable to push data in. It returns the following error from "Expected tsputresp, got rpberrorresp, Expected

Re: Riak CS: avoiding RAM overflow and OOM killer

2016-11-23 Thread Daniel Miller
Hi Alexander, Thanks for responding. > How many nodes? We currently have 9 nodes in our cluster. > How much ram per node? Each node has 4GB of ram and 4GB of swap. The memory levels (ram + swap) on each node are currently between 4GB and 5.5GB. > How many objects (files)? What is the average