So I'm running Riak on my VPS Linux machine. I've got 2GB of RAM available so I decided to go with eleveldb backend and I tuned the parameters a bit. However, I can't start my node at all. There are no errors during the riak start command but inspecting the logs show up different messages:
The output I gave you was from riak console. Here it is again:
config is OK
!!!! WARNING: ulimit -n is 1024; 4096 is the recommended minimum.
Exec: /usr/lib64/riak/erts-5.9.1/bin/erlexec -boot /usr/lib64/riak/releases/1.4.0/riak -config /etc/riak/app.config -pa /usr/lib64/riak/lib/basho-patches -args_file /etc/riak/vm.args -- console
Failed to create thread: Resource temporarily unavailable (11)
After rebooting it seems like no more errors with "offline node". Yet a problem with resources :( I don't know, is it really problem with threading? Could NPTL 2.12 be a problem? I'm really taking a long shot right now, as the last couple of days have been nightmare because of those riak problems.
Sometimes things aren't started up in time when you use 'riak-admin test' right after 'riak start'. I've seen that happen before. Try starting riak, waiting a minute or so and doing riak-admin test again and see if it starts writing.
Yeah it works!!!
It's taking 1.8GB of my RAM though... I'd like to get down to 1GB for now at least, I won't really have high traffic for the tests of my software. What changes do you suggest? Get ring size down to 8? Anything else I could do?