Closed GoogleCodeExporter closed 9 years ago
You didn't specify which OS it is. You can try increasing the limit of opened
files in your OS
http://stackoverflow.com/questions/34588/how-do-i-change-the-number-of-open-file
s-limit-in-linux
Original comment by kkowalczyk@gmail.com
on 9 Oct 2011 at 9:26
thank you, i use the suse system.
Original comment by GaryPY...@gmail.com
on 9 Oct 2011 at 9:50
Just stumbled across this issue. Maybe documentation LevelDB should include
estimates on how many open file descriptors will be used as a function of total
data size. This could come handy for production planning. Just an idea.
Original comment by jens.ran...@gmail.com
on 24 Nov 2012 at 6:08
The number of open files in linux apparently can be bumped up to only a maximum
of 1,048,576, which is insufficient for my use of levelDB. Does anyone have
any suggestions as to how I can get levelDB to limit the number of files it has
open at any given time? The number of open files continues to rise very slowly
at first but there appears to be a point at which it suddenly begins rising
very quickly. I'm using levelDB to access several million records each about
250 bytes in about a dozen different databases at the same time. Is there some
inherent limitation that I'm bumping up against? This is on a linux system
with 32 GBytes of real memory.
Original comment by stephen....@gmail.com
on 3 Jan 2013 at 12:27
I should note that it is an x86_64 system.
Original comment by stephen....@gmail.com
on 3 Jan 2013 at 12:35
@stephen.p.morgan - Does options.max_open_files[1] not do what you want?
1. https://code.google.com/p/leveldb/source/browse/include/leveldb/options.h#84
Original comment by dgrogan@chromium.org
on 14 Feb 2013 at 10:40
Assuming fixed by options.max_open_files
Original comment by dgrogan@chromium.org
on 29 May 2013 at 2:27
I'm running leveldb 1.11.0 with max_open_files set to 512.
I have a large database that still seems to cause leveldb to open 10000+ files
before it hits my per-process open file limit.
Any hints? Should I set max_open_files to something much smaller?
Original comment by fullung@gmail.com
on 29 Jul 2013 at 12:15
LevelDB's above a certain size (about 40 GB) seems to cause leveldb to open
every single file in the database without closing anything in between.
Original comment by fullung@gmail.com
on 15 Aug 2013 at 3:08
Original issue reported on code.google.com by
GaryPY...@gmail.com
on 9 Oct 2011 at 9:12