On Fri, Dec 30, 2011 at 1:35 PM, jeffrey k eliasen <j...@jke.net> wrote:

> In reading the LevelDB page on the wiki, it indicates as max ring size goes 
> up, the number of open files should go down. However, later (in the "Tips and 
> tricks" section) it says that there will be (by default) 20 open files per 
> partition… does this mean I'll have 20*256 = 5120 open files, potentially? Or 
> am I reading this wrong?

Correct. The max_open_files setting applies _per partition_. If Q is
the number of partitions, you'll need to make sure your ulimit -n is
set to: Q * max_open_files (at least). Realistically, it's probably
going to need to be above that as the system also needs file handles
for logs, open sockets, etc.

D.

-- 
Dave Smith
Director, Engineering
Basho Technologies, Inc.
diz...@basho.com

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

Reply via email to