What steps will reproduce the problem?
- Create a leveldb with many rows on Solaris
What is the expected output? What do you see instead?
- Out of file descriptor errors.
Explanation: the default soft limit on Solaris is 256 files, not 1024 like
Linux. ulimit changes this limit *only if* the running user is root, which is
not always possible.
options.max_open_files must be changed by users compiling leveldb on these
platforms, and without this change, scaling problems will result.
Shouldn't the default (utils/options.cc) max_open_files be a more compatible
number than 1000, less than 256? (I am using 200 because my app opens other
files too.) Alternately, couldn't leveldb detect the current soft limit and use
that?
Original issue reported on code.google.com by mbh...@gmail.com on 10 Dec 2011 at 8:52
Original issue reported on code.google.com by
mbh...@gmail.com
on 10 Dec 2011 at 8:52