riak memstore clarification on enomem error

2012-10-08 Thread Sangeetha.PattabiRaman2
Dear Team , I have a 64 GB RAM ,during the Load of 35 million dataset (1.8 GB) it consumes nearly 40-45 GB of RAM durial the startup of the erlang script ,but While trying to load 40 million dataset (2.1 GB) I am getting the following error escript: exception error: no match of

Re: default bucket settings

2012-10-08 Thread Martin Westergaard Lassen
Hi PawelThe "Concept" wiki page (http://wiki.basho.com/Concepts.html#Reading%2C-Writing%2C-and-Updating-Data) has a  good introduction to the most important paramters. Casing doesn't matter, so r=R.The Riak Handbook has a good and deep explanation of what those parameters are http://riakhandbook.co

Re: pre-ricon dinner/drinks?

2012-10-08 Thread Marc Campbell
I'd definitely be up for something like this on Tuesday evening. -Marc Campbell On Oct 8, 2012, at 9:35 PM, Alexander Sicular wrote: > Hey Gang, > > I'm getting into SF for Ricon today, Tuesday. Anyone wanna hang out evening > time for food and/or drinks? > > -Alexander Sicular > > @sicul

pre-ricon dinner/drinks?

2012-10-08 Thread Alexander Sicular
Hey Gang, I'm getting into SF for Ricon today, Tuesday. Anyone wanna hang out evening time for food and/or drinks? -Alexander Sicular @siculars ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users

Re: riak exiting when number partitions > 128

2012-10-08 Thread Jeremiah Peschka
The behavior of su and sudo are at best entertaining and at worst entirely maddening. Now that you've worked your way through this, hopefully I'll remember it at some point in the future. --- Jeremiah Peschka Managing Director, Brent Ozar PLF, LLC On Mon, Oct 8, 2012 at 7:12 PM, David Lowell wr

Re: riak exiting when number partitions > 128

2012-10-08 Thread David Lowell
I just spotted the doc: http://wiki.basho.com/Open-Files-Limit.html which has a suggested a better approach for configuring the file limit than setting it in /etc/security/limits.d. I've created the /etc/default/riak file containing the revised file limit, and that works well with the stock 'su

Re: riak exiting when number partitions > 128

2012-10-08 Thread David Lowell
Thanks guys. I had raised the max open files limit at the system level for the 'riak' user to 100k, and confirmed that had taken affect with "sudo -u riak bash -c 'ulimit -a'". However, it appears that you are correct that this system setting is not affecting the actual startup of riak when I ru

Re: riak exiting when number partitions > 128

2012-10-08 Thread Jeremiah Peschka
Like Alex, I state ulimit -n directly in my start Riak start up scripts. For my local dev instance it looks like this: ### Generic Riak dev version setup function riak_dev_start() { local CURRENT=`pwd`; ulimit -n 1024; cd ~/Projects/riak/dev echo "Starting riak node 1 on 127.0.0.1" dev

Re: riak exiting when number partitions > 128

2012-10-08 Thread Alexander Sicular
I don't think you're setting it correctly. I usually set it in the terminal before calling riak start. Or set it system wide, different ways to do it depending on your os. @siculars http://siculars.posterous.com Sent from my iRotaryPhone On Oct 8, 2012, at 21:00, David Lowell wrote: > I'm

riak exiting when number partitions > 128

2012-10-08 Thread David Lowell
I'm starting to want to move past the default Riak configs, for example, by running with a larger number of partitions than the default 64. However, today when bumping up the "ring_creation_size" config param to 256 or higher Riak started failing soon after startup with messages about "Too many

Re: epmd daemon runs after riak stops

2012-10-08 Thread Alexander Sicular
Truth, except I run some Riak dev related activity off of an encrypted sparse image that I need to unmount when I'm done working on it. I do some bash-Fu to kill that process. @siculars http://siculars.posterous.com Sent from my rotary phone. On Oct 8, 2012 5:59 PM, "Sean Cribbs" wrote: > epmd

Re: epmd daemon runs after riak stops

2012-10-08 Thread Sean Cribbs
epmd is how Riak nodes find each other. It is extremely lightweight and harmless to run after the Riak node has stopped. Killing it is fine, but is not strictly necessary. On Mon, Oct 8, 2012 at 2:31 PM, David Lowell wrote: > I would like to understand better why '/etc/init.d/riak stop' stops ria

epmd daemon runs after riak stops

2012-10-08 Thread David Lowell
I would like to understand better why '/etc/init.d/riak stop' stops riak, but the 'epmd' daemon continues to run. I would have hoped that when I administratively stop riak on a node that all its various cogs would stop turning. Furthermore, I'm not clear on how the lifecycle of epmd is control

default bucket settings

2012-10-08 Thread kamiseq
Im looking for explanation what exactly r, pr, w, dw, pw, rw stands for. Im sorry if this was already posted but I cannot find anything on that. I tried wiki.basho.com/Riak-Glossary.html, http://wiki.basho.com/HTTP-API.html#Bucket-Operations, http://wiki.basho.com/Buckets.html but it only describe

Re: IPsec and Riak

2012-10-08 Thread Kresten Krab Thorup
You would need a range large enough to at least let all nodes connect to one another; I don't know exactly how the port allocation work for Erlang distribution but you could experiment with range sizes starting from the number of Erlang nodes, plus some extra to allow riak-admin and riak command

IPsec and Riak

2012-10-08 Thread Dennis Forbes
Operating under the assumption that the local network may be hostile, for communications between the nodes of the cluster I would like to use IPsec PSK restrictioned access and encryption to restrict cluster communications to members of the cluster. Per http://wiki.basho.com/Network-Security-and-Fi

Re: ripple and presence property

2012-10-08 Thread Jeremy Ong
>From an implementation standpoint, see https://github.com/basho/ripple/blob/master/lib/ripple/validations/associated_validator.rb which does the passthrough to: http://guides.rubyonrails.org/active_record_validations_callbacks.html#presence I believe On Mon, Oct 8, 2012 at 11:13 AM, Sean Crib

Re: ripple and presence property

2012-10-08 Thread Sean Cribbs
That is a passthrough to validations, so it is equivalent to: property :email, String validates_presence_of :email On Mon, Oct 8, 2012 at 11:08 AM, Charlie Bowman wrote: > I can't seem to find any information on the :presence property of ripple. > e.g. > > property :email, String, :presence =>

ripple and presence property

2012-10-08 Thread Charlie Bowman
I can't seem to find any information on the :presence property of ripple. e.g. property :email, String, :presence => true I've also searched the source code for ripple, including tests and can't seem to find any info on what this actually does. ___ r

Riak-1.2.1rc1 - Search Pre-commit Hook

2012-10-08 Thread Andrew Zeneski
I am seeing an error when the search pre-commit hook runs on Linux (RHEL 6, RPM install) {hook_crashed, {riak_search_kv_hook,precommit,error, {badmatch,... On OS X 10.8 (running the downloaded tarball) the exact same process works fine, as it did with 1.2. Trying to determ