We are using leveldbjni-linux64 dependency in our backends which implement only read operations (we are filling the DB beforehand in a separate process). The DB holds about 200mil keys and recieves +300 requests per second. We are seeing an unbounded increase in native memory consumption. Pmap shows +2GB of SST files and +11GB anonymous, when working-set is about 6 GB. I know that under pressure should leveldb give these files back. But that does not happen in our case.
Setting: Cache size: 100MB, max_open_files=default
We are using leveldbjni-linux64 dependency in our backends which implement only read operations (we are filling the DB beforehand in a separate process). The DB holds about 200mil keys and recieves +300 requests per second. We are seeing an unbounded increase in native memory consumption. Pmap shows +2GB of SST files and +11GB anonymous, when working-set is about 6 GB. I know that under pressure should leveldb give these files back. But that does not happen in our case.
Setting: Cache size: 100MB, max_open_files=default