Does riak control work?

2013-09-09 Thread David Montgomery
I am using the lastest ubuntu deb package.



https://localhost:8069/admin

I get page not found

The connection was reset

  The connection to the server was reset while the page was
loading.

  The site could be temporarily unavailable or too busy. Try again in a few
moments.
  If you are unable to load any pages, check your computer's network
connection.
  If your computer or network is protected by a firewall or proxy, make sure
that Firefox is permitted to access the Web.



Is riak running on the port?  Yup

root@ubuntu-VirtualBox:/etc/riak# lsof -i :8069
COMMAND   PID USER   FD   TYPE  DEVICE SIZE/OFF NODE NAME
beam.smp 1376 riak   21u  IPv4 3238716  0t0  TCP localhost:8069 (LISTEN)


I followed the instructions here
http://docs.basho.com/riak/latest/ops/advanced/riak-control/

%% https is a list of IP addresses and TCP ports that the Riak
  %% HTTPS interface will bind.
  {https, [{ 127.0.0.1, 8069 }]},

 %% Set to false to disable the admin panel.
{enabled, true},




So...what could be wrong?  Yes..I restarted riak after I make the change to
the config file.

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


[no subject]

2013-09-09 Thread David Montgomery
Why do I get errors restarting riak when i use aws EIP's?

I change the ip address per this doc.
http://docs.basho.com/riak/1.2.1/cookbooks/Basic-Cluster-Setup/  I am using
the latest version of riak for ubuntu 12.04

I change the 127.0.0.1 to the EIP.  It should work.  Yetriak will not
work.  Any issues I am missing?  How do I resolve?


console.log
2013-09-09 11:28:28.211 [info] 0.7.0 Application webmachine started on
node 'riak@54.247.68.179'
2013-09-09 11:28:28.211 [info] 0.7.0 Application basho_stats started on
node 'riak@54.247.68.179'
2013-09-09 11:28:28.229 [info] 0.7.0 Application bitcask started on node '
riak@54.247.68.179'
2013-09-09 11:28:29.385 [error] 0.172.0 CRASH REPORT Process 0.172.0
with 0 neighbours exited with reason: eaddrnotavail in gen_server:init_it/6
line 320
2013-09-09 11:28:29.385 [error] 0.138.0 Supervisor riak_core_sup had
child http_54.247.68.179:8098 started with
webmachine_mochiweb:start([{name,http_54.247.68.179:8098},{ip,54.247.68.179},{p$
2013-09-09 11:28:29.387 [info] 0.7.0 Application riak_core exited with
reason: {shutdown,{riak_core_app,start,[normal,[]]}}

error.log
013-09-09 11:08:13.109 [error] 0.138.0 Supervisor riak_core_sup had child
riak_core_capability started with riak_core_capability:start_link() at
0.156.0 exit with reason no function clause match$
2013-09-09 11:08:13.110 [error] 0.136.0 CRASH REPORT Process 0.136.0
with 0 neighbours exited with reason: {{function_clause,[{orddict,fetch,['
riak@10.239.130.225',[{'riak@127.0.0.1',[{{riak_cont$
2013-09-09 11:08:34.956 [error] 0.156.0 gen_server riak_core_capability
terminated with reason: no function clause matching orddict:fetch('
riak@10.239.130.225', [{'riak@127.0.0.1',[{{riak_control,m$
2013-09-09 11:08:34.957 [error] 0.156.0 CRASH REPORT Process
riak_core_capability with 0 neighbours exited with reason: no function
clause matching orddict:fetch('riak@10.239.130.225', [{'riak@127.$
2013-09-09 11:08:34.957 [error] 0.140.0 Supervisor riak_core_sup had
child riak_core_capability started with riak_core_capability:start_link()
at 0.156.0 exit with reason no function clause match$
2013-09-09 11:08:34.958 [error] 0.138.0 CRASH REPORT Process 0.138.0
with 0 neighbours exited with reason: {{function_clause,[{orddict,fetch,['
riak@10.239.130.225',[{'riak@127.0.0.1',[{{riak_cont$
2013-09-09 11:10:56.863 [error] 0.154.0 gen_server riak_core_capability
terminated with reason: no function clause matching orddict:fetch('
riak@54.247.68.179', []) line 72
2013-09-09 11:10:56.864 [error] 0.154.0 CRASH REPORT Process
riak_core_capability with 0 neighbours exited with reason: no function
clause matching orddict:fetch('riak@54.247.68.179', []) line 72 i$

[ Read 32 lines ]
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


Re: Does riak control work?

2013-09-09 Thread Chris Meiklejohn
Hi David,

We just verified that Control appears to be working fine for that package.
 Can you provide your entire app.config file to help us debug further?

- Chris


On Mon, Sep 9, 2013 at 12:17 PM, David Montgomery davidmontgom...@gmail.com
 wrote:

 I am using the lastest ubuntu deb package.



 https://localhost:8069/admin

 I get page not found

 The connection was reset

   The connection to the server was reset while the page was
 loading.

   The site could be temporarily unavailable or too busy. Try again in a few
 moments.
   If you are unable to load any pages, check your computer's network
 connection.
   If your computer or network is protected by a firewall or proxy, make
 sure
 that Firefox is permitted to access the Web.



 Is riak running on the port?  Yup

 root@ubuntu-VirtualBox:/etc/riak# lsof -i :8069
 COMMAND   PID USER   FD   TYPE  DEVICE SIZE/OFF NODE NAME
 beam.smp 1376 riak   21u  IPv4 3238716  0t0  TCP localhost:8069
 (LISTEN)


 I followed the instructions here
 http://docs.basho.com/riak/latest/ops/advanced/riak-control/

 %% https is a list of IP addresses and TCP ports that the Riak
   %% HTTPS interface will bind.
   {https, [{ 127.0.0.1, 8069 }]},

  %% Set to false to disable the admin panel.
 {enabled, true},




 So...what could be wrong?  Yes..I restarted riak after I make the change
 to the config file.

 Thanks



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


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


Re:

2013-09-09 Thread Alex Moore
Hi David,Have you ever started up this node prior to changing the IP address?Can you also grep your config files for "127.0.0.1"? If there aren't any settings with that IP, can you reply with your config files so we can take a look?Thanks,Alex Moore On September 9, 2013 at 7:40:10 AM, David Montgomery (davidmontgom...@gmail.com) wrote: Why do I get errors restarting riak when i use aws EIP's?I change the ip address per this doc. http://docs.basho.com/riak/1.2.1/cookbooks/Basic-Cluster-Setup/ I am using the latest version of riak for ubuntu 12.04
I change the 127.0.0.1 to the EIP. It should work. Yetriak will not work. Any issues I am missing? How do I resolve?console.log2013-09-09 11:28:28.211 [info] 0.7.0 Application webmachine started on node 'riak@54.247.68.179'
2013-09-09 11:28:28.211 [info] 0.7.0 Application basho_stats started on node 'riak@54.247.68.179'2013-09-09 11:28:28.229 [info] 0.7.0 Application bitcask started on node 'riak@54.247.68.179'
2013-09-09 11:28:29.385 [error] 0.172.0 CRASH REPORT Process 0.172.0 with 0 neighbours exited with reason: eaddrnotavail in gen_server:init_it/6 line 3202013-09-09 11:28:29.385 [error] 0.138.0 Supervisor riak_core_sup had child "http_54.247.68.179:8098" started with webmachine_mochiweb:start([{name,"http_54.247.68.179:8098"},{ip,"54.247.68.179"},{p$
2013-09-09 11:28:29.387 [info] 0.7.0 Application riak_core exited with reason: {shutdown,{riak_core_app,start,[normal,[]]}}error.log013-09-09 11:08:13.109 [error] 0.138.0 Supervisor riak_core_sup had child riak_core_capability started with riak_core_capability:start_link() at 0.156.0 exit with reason no function clause match$
2013-09-09 11:08:13.110 [error] 0.136.0 CRASH REPORT Process 0.136.0 with 0 neighbours exited with reason: {{function_clause,[{orddict,fetch,['riak@10.239.130.225',[{'riak@127.0.0.1',[{{riak_cont$
2013-09-09 11:08:34.956 [error] 0.156.0 gen_server riak_core_capability terminated with reason: no function clause matching orddict:fetch('riak@10.239.130.225', [{'riak@127.0.0.1',[{{riak_control,m$
2013-09-09 11:08:34.957 [error] 0.156.0 CRASH REPORT Process riak_core_capability with 0 neighbours exited with reason: no function clause matching orddict:fetch('riak@10.239.130.225', [{'riak@127.$
2013-09-09 11:08:34.957 [error] 0.140.0 Supervisor riak_core_sup had child riak_core_capability started with riak_core_capability:start_link() at 0.156.0 exit with reason no function clause match$2013-09-09 11:08:34.958 [error] 0.138.0 CRASH REPORT Process 0.138.0 with 0 neighbours exited with reason: {{function_clause,[{orddict,fetch,['riak@10.239.130.225',[{'riak@127.0.0.1',[{{riak_cont$
2013-09-09 11:10:56.863 [error] 0.154.0 gen_server riak_core_capability terminated with reason: no function clause matching orddict:fetch('riak@54.247.68.179', []) line 72
2013-09-09 11:10:56.864 [error] 0.154.0 CRASH REPORT Process riak_core_capability with 0 neighbours exited with reason: no function clause matching orddict:fetch('riak@54.247.68.179', []) line 72 i$
 [ Read 32 lines ]
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


Re: Multi-backend, eLevelDB, Too many open files

2013-09-09 Thread Luke Bakken
Hi Matt -

Can you attach to a node in your cluster with riak attach and run
this erlang snippet (before the node errors out)?

os:cmd(ulimit -n).

This will show the actual value for ulimit for that running riak node.
I suspect that this value hasn't been updated for the running process,
even though you've modified limits.conf.

Depending on your OS there may be more configuration necessary for the
open files limit to stick:
http://docs.basho.com/riak/latest/ops/tuning/open-files-limit/#Linux

On Sun, Sep 8, 2013 at 9:15 PM, Matt Black matt.bl...@jbadigital.com wrote:
 Hey list,

 We're migrating from our currently operational cluster to a new one in a
 different EC2 region. As part of this migration, we'd like to move from
 Bitcask to eLevelDB - mostly for the benefits provided by secondary indexes.

 We also use Multi-backend configuration, in order to split our various
 client's data into entirely separate spaces on disk (this is useful for
 legal reasons). I made the simple change from riak_kv_bitcask_backend to
 riak_kv_eleveldb_backend in our config, and did some calculations for
 max_open_files, and then started a new node.

 It fails with the following error in short order:

 cat error.log
 2013-09-09 03:49:51.391 [error] 0.715.0@riak_kv_vnode:init:375 Failed to
 start riak_kv_multi_backend Reason: [{riak_kv_eleveldb_backend,{db_open,IO
 error:
 /mnt/riak/eleveldb/client1/365375409332725729550921208179070754913983135744/15.dbtmp:
 Too many open files}}]
 2013-09-09 03:49:51.392 [error] 0.940.0@riak_kv_vnode:init:375 Failed to
 start riak_kv_multi_backend Reason: [{riak_kv_eleveldb_backend,{db_open,IO
 error:
 /mnt/riak/eleveldb/client2/570899077082383952423314387779798054553098649600/CURRENT:
 Too many open files}},{riak_kv_eleveldb_backend,{db_open,IO error:
 /mnt/riak/eleveldb/client3/570899077082383952423314387779798054553098649600/CURRENT:
 Too many open files}},{riak_kv_eleveldb_backend,{db_open,IO error:
 /mnt/riak/eleveldb/client4/570899077082383952423314387779798054553098649600/CURRENT:
 Too many open files}},{riak_kv_eleveldb_backend,{db_open,IO error:
 /mnt/riak/eleveldb/client5/570899077082383952423314387779798054553098649600/CURRENT:
 Too many open files}},{riak_kv_eleveldb_backend,{db_open,IO error:
 /mnt/riak/eleveldb/client6/570899077082383952423314387779798054553098649600/CURRENT:
 Too many open files}}]

 And some relevant app.config:

 {multi_backend_default, default},
 {multi_backend, [
 %% Default fallback: this is unused
 {default, riak_kv_eleveldb_backend, [
 {data_root, /mnt/riak/eleveldb/default}
 ]},
 {eleveldb_client1, riak_kv_eleveldb_backend, [
 {data_root, /mnt/riak/eleveldb/client1}
 ]},
 {eleveldb_client2, riak_kv_eleveldb_backend, [
 {data_root, /mnt/riak/eleveldb/client2}
 ]},
 {eleveldb_client3, riak_kv_eleveldb_backend, [
 {data_root, /mnt/riak/eleveldb/client3}
 ]},
 {eleveldb_client4, riak_kv_eleveldb_backend, [
 {data_root, /mnt/riak/eleveldb/client4}
 ]},
 {eleveldb_client5, riak_kv_eleveldb_backend, [
 {data_root, /mnt/riak/eleveldb/client5}
 ]},
 {eleveldb_client6, riak_kv_eleveldb_backend, [
 {data_root, /mnt/riak/eleveldb/client6}
 ]}
 ]},

 .. snip ..

  %% Default cache size of 8MB
  {cache_size, 8388608},
  %% Maximum number of files open at once per partition
  {max_open_files, 50}

 I've set the riak soft/hard nofile 65536 in /etc/security/limits.conf, so
 presumably this Too many open files error is referring to the
 max_open_files option as part of eLevelDB config. The RAM in each machine
 is 3.5GB free, so I calculated on a 5 node cluster this 50 max_open_files
 limit.

 - Is there something about Multi-backend I haven't taken into account?
 - Do I need a larger max_open_files? (And thus more RAM? :)

 Cheers!
 Matt

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




-- 
Luke Bakken
CSE
lbak...@basho.com

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


Java client: connection refused.

2013-09-09 Thread Victor
Hello,

We are trying to deploy Riak software for testing purposes, with Java
client; however after compilation riak return following massage. 

Java.net.ConnectException: Connection refused

Operations system is CentOS, riak is installed with yum, and for now I'm
trying to run single node (so I'm starting it by /etc/init.d/riak
start). I've tried to check riak activity with Netstat, but didn't found
any application using port 8098, which I believe is supposed to belong
to riak when it's running. 

 

Thanks you,

Victor

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


Re:

2013-09-09 Thread Brady Wetherington
I've been working with Basho to get those documents updated - in short - I
have a pull request that makes using Riak with EIP's in Classic-EC2 much,
much easier. They have accepted it, but it has not been merged with the
mainline yet. I'm assuming you are *not* on VPC, is that correct?

If so, you should use the ec2 public DNS name as your node identifier
instead. For the IP you listed above, that's:

ec2-54-247-68-179.eu-west-1.compute.amazonaws.com

If you find that name ungainly - go head and make a CNAME that points to it
-

riak-1.yourcompany.com CNAME
ec2-54-247-68-179.eu-west-1.compute.amazonaws.com

Once you've done this, you can use that shortname (riak-1.yourcompany.com)
as your node identifier - and it will survive a node restart (so long as
you reassociate the EIP with the instance).

The reason *why* this works is that that public DNS name (
ec2-54-247-68-179.eu-west-1.compute.amazonaws.com) resolves to the _inside_
IP address of your node when you're inside of amazon. So your server can
figure out whether or not it's talking to itself.

-B.


On Mon, Sep 9, 2013 at 7:38 AM, David Montgomery
davidmontgom...@gmail.comwrote:

 Why do I get errors restarting riak when i use aws EIP's?

 I change the ip address per this doc.
 http://docs.basho.com/riak/1.2.1/cookbooks/Basic-Cluster-Setup/  I am
 using the latest version of riak for ubuntu 12.04

 I change the 127.0.0.1 to the EIP.  It should work.  Yetriak will not
 work.  Any issues I am missing?  How do I resolve?


 console.log
 2013-09-09 11:28:28.211 [info] 0.7.0 Application webmachine started on
 node 'riak@54.247.68.179'
 2013-09-09 11:28:28.211 [info] 0.7.0 Application basho_stats started on
 node 'riak@54.247.68.179'
 2013-09-09 11:28:28.229 [info] 0.7.0 Application bitcask started on node
 'riak@54.247.68.179'
 2013-09-09 11:28:29.385 [error] 0.172.0 CRASH REPORT Process 0.172.0
 with 0 neighbours exited with reason: eaddrnotavail in gen_server:init_it/6
 line 320
 2013-09-09 11:28:29.385 [error] 0.138.0 Supervisor riak_core_sup had
 child http_54.247.68.179:8098 started with
 webmachine_mochiweb:start([{name,http_54.247.68.179:8098},{ip,54.247.68.179},{p$
 2013-09-09 11:28:29.387 [info] 0.7.0 Application riak_core exited with
 reason: {shutdown,{riak_core_app,start,[normal,[]]}}

 error.log
 013-09-09 11:08:13.109 [error] 0.138.0 Supervisor riak_core_sup had
 child riak_core_capability started with riak_core_capability:start_link()
 at 0.156.0 exit with reason no function clause match$
 2013-09-09 11:08:13.110 [error] 0.136.0 CRASH REPORT Process 0.136.0
 with 0 neighbours exited with reason: {{function_clause,[{orddict,fetch,['
 riak@10.239.130.225',[{'riak@127.0.0.1',[{{riak_cont$
 2013-09-09 11:08:34.956 [error] 0.156.0 gen_server riak_core_capability
 terminated with reason: no function clause matching orddict:fetch('
 riak@10.239.130.225', [{'riak@127.0.0.1',[{{riak_control,m$
 2013-09-09 11:08:34.957 [error] 0.156.0 CRASH REPORT Process
 riak_core_capability with 0 neighbours exited with reason: no function
 clause matching orddict:fetch('riak@10.239.130.225', [{'riak@127.$
 2013-09-09 11:08:34.957 [error] 0.140.0 Supervisor riak_core_sup had
 child riak_core_capability started with riak_core_capability:start_link()
 at 0.156.0 exit with reason no function clause match$
 2013-09-09 11:08:34.958 [error] 0.138.0 CRASH REPORT Process 0.138.0
 with 0 neighbours exited with reason: {{function_clause,[{orddict,fetch,['
 riak@10.239.130.225',[{'riak@127.0.0.1',[{{riak_cont$
 2013-09-09 11:10:56.863 [error] 0.154.0 gen_server riak_core_capability
 terminated with reason: no function clause matching orddict:fetch('
 riak@54.247.68.179', []) line 72
 2013-09-09 11:10:56.864 [error] 0.154.0 CRASH REPORT Process
 riak_core_capability with 0 neighbours exited with reason: no function
 clause matching orddict:fetch('riak@54.247.68.179', []) line 72 i$

 [ Read 32 lines ]






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


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


[ANN] Yokozuna 0.9.0

2013-09-09 Thread Ryan Zezeski
Riak Users,

The ninth release of Yokozuna has arrived.  It is now integrated with the
Riak development branch.  This means no more special merge branches and you
get the latest and greatest Riak code.  It also means Yokozuna is on track
to be delivered with the next release of Riak.  There is now support for
index and schema administration over protocol buffers.  A major performance
regression was fixed.  An AAE deadlock issue was fixed.  And work has
started for Riak Search migration.  For a full list of changes see the
release notes.

https://github.com/basho/yokozuna/blob/develop/docs/RELEASE_NOTES.md#090

For installation instructions see the INSTALL doc.

https://github.com/basho/yokozuna/blob/develop/docs/INSTALL.md

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


Re: Download stops at certain megabyte boundary (RiakCS)

2013-09-09 Thread Shunichi Shinohara
Martin,

Thank you for more information.
I found a mis-configuration of riak's app.config. The backend of riak for
Riak CS is riak_cs_kv_multi_backend (look out for _cs_). This is the custom
riak_kv backend for Riak CS. The error of s3cmd ls was caused by this.

As for MB boundary stop, the issue https://github.com/basho/riak_cs/issues/613
may be related. Although not direct way to treat it, some points which may help:

- As Seth said, upgrade to 1.4, which can reduce network communication
between riak nodes
- Set pb_backlog to 256 or higher in riak_api section of riak's app.config

Regards,
Shino

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


Re: Multi-backend, eLevelDB, Too many open files

2013-09-09 Thread Matt Black
Hi Luke,

Thanks for the response.

I played around with the various config options - and in the end I had to
include the /etc/defaults/riak file, as well as the
/etc/security/limits.conf config in order to get Riak to stay up. That must
be relatively new - our existing v1.4.0 cluster is operating fine without
it.

Cheers
Matt


On 10 September 2013 01:32, Luke Bakken lbak...@basho.com wrote:

 Hi Matt -

 Can you attach to a node in your cluster with riak attach and run
 this erlang snippet (before the node errors out)?

 os:cmd(ulimit -n).

 This will show the actual value for ulimit for that running riak node.
 I suspect that this value hasn't been updated for the running process,
 even though you've modified limits.conf.

 Depending on your OS there may be more configuration necessary for the
 open files limit to stick:
 http://docs.basho.com/riak/latest/ops/tuning/open-files-limit/#Linux

 On Sun, Sep 8, 2013 at 9:15 PM, Matt Black matt.bl...@jbadigital.com
 wrote:
  Hey list,
 
  We're migrating from our currently operational cluster to a new one in a
  different EC2 region. As part of this migration, we'd like to move from
  Bitcask to eLevelDB - mostly for the benefits provided by secondary
 indexes.
 
  We also use Multi-backend configuration, in order to split our various
  client's data into entirely separate spaces on disk (this is useful for
  legal reasons). I made the simple change from riak_kv_bitcask_backend
 to
  riak_kv_eleveldb_backend in our config, and did some calculations for
  max_open_files, and then started a new node.
 
  It fails with the following error in short order:
 
  cat error.log
  2013-09-09 03:49:51.391 [error] 0.715.0@riak_kv_vnode:init:375 Failed
 to
  start riak_kv_multi_backend Reason:
 [{riak_kv_eleveldb_backend,{db_open,IO
  error:
 
 /mnt/riak/eleveldb/client1/365375409332725729550921208179070754913983135744/15.dbtmp:
  Too many open files}}]
  2013-09-09 03:49:51.392 [error] 0.940.0@riak_kv_vnode:init:375 Failed
 to
  start riak_kv_multi_backend Reason:
 [{riak_kv_eleveldb_backend,{db_open,IO
  error:
 
 /mnt/riak/eleveldb/client2/570899077082383952423314387779798054553098649600/CURRENT:
  Too many open files}},{riak_kv_eleveldb_backend,{db_open,IO error:
 
 /mnt/riak/eleveldb/client3/570899077082383952423314387779798054553098649600/CURRENT:
  Too many open files}},{riak_kv_eleveldb_backend,{db_open,IO error:
 
 /mnt/riak/eleveldb/client4/570899077082383952423314387779798054553098649600/CURRENT:
  Too many open files}},{riak_kv_eleveldb_backend,{db_open,IO error:
 
 /mnt/riak/eleveldb/client5/570899077082383952423314387779798054553098649600/CURRENT:
  Too many open files}},{riak_kv_eleveldb_backend,{db_open,IO error:
 
 /mnt/riak/eleveldb/client6/570899077082383952423314387779798054553098649600/CURRENT:
  Too many open files}}]
 
  And some relevant app.config:
 
  {multi_backend_default, default},
  {multi_backend, [
  %% Default fallback: this is unused
  {default, riak_kv_eleveldb_backend, [
  {data_root, /mnt/riak/eleveldb/default}
  ]},
  {eleveldb_client1, riak_kv_eleveldb_backend, [
  {data_root, /mnt/riak/eleveldb/client1}
  ]},
  {eleveldb_client2, riak_kv_eleveldb_backend, [
  {data_root, /mnt/riak/eleveldb/client2}
  ]},
  {eleveldb_client3, riak_kv_eleveldb_backend, [
  {data_root, /mnt/riak/eleveldb/client3}
  ]},
  {eleveldb_client4, riak_kv_eleveldb_backend, [
  {data_root, /mnt/riak/eleveldb/client4}
  ]},
  {eleveldb_client5, riak_kv_eleveldb_backend, [
  {data_root, /mnt/riak/eleveldb/client5}
  ]},
  {eleveldb_client6, riak_kv_eleveldb_backend, [
  {data_root, /mnt/riak/eleveldb/client6}
  ]}
  ]},
 
  .. snip ..
 
   %% Default cache size of 8MB
   {cache_size, 8388608},
   %% Maximum number of files open at once per partition
   {max_open_files, 50}
 
  I've set the riak soft/hard nofile 65536 in /etc/security/limits.conf,
 so
  presumably this Too many open files error is referring to the
  max_open_files option as part of eLevelDB config. The RAM in each
 machine
  is 3.5GB free, so I calculated on a 5 node cluster this 50 max_open_files
  limit.
 
  - Is there something about Multi-backend I haven't taken into account?
  - Do I need a larger max_open_files? (And thus more RAM? :)
 
  Cheers!
  Matt
 
  ___
  riak-users mailing list
  riak-users@lists.basho.com
  http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
 



 --
 Luke Bakken
 CSE
 lbak...@basho.com

___