You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2021/03/13 09:47:51 UTC

[GitHub] [bookkeeper] hangc0276 opened a new pull request #2643: adjust default rocksDbBlockCache size to 10%/numberOfLedgers of direct memory

hangc0276 opened a new pull request #2643:
URL: https://github.com/apache/bookkeeper/pull/2643


   ### Motivation
   For dbLedgerStorage, it will initiate an RocksDB instance for each ledger directory. However, for each RocksDB instance, it will set defaultRocksDBBlockCacheSizeBytes to  10% of direct memory. If we configured multi ledger directories and default dbStorage_rocksDB_blockCacheSize, the direct memory will be exhausted and cause Out Of Memory Error(OOM)
   
   ### Changes
   1. Change default dbStorage_rocksDB_blockCacheSize to 10% / numberOfLedgers of direct memory.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [bookkeeper] hangc0276 commented on pull request #2643: adjust default rocksDbBlockCache size to 10%/numberOfLedgers of direct memory

Posted by GitBox <gi...@apache.org>.
hangc0276 commented on pull request #2643:
URL: https://github.com/apache/bookkeeper/pull/2643#issuecomment-799041617


   rerun failure checks
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [bookkeeper] hangc0276 commented on pull request #2643: adjust default rocksDbBlockCache size to 10%/numberOfLedgers of direct memory

Posted by GitBox <gi...@apache.org>.
hangc0276 commented on pull request #2643:
URL: https://github.com/apache/bookkeeper/pull/2643#issuecomment-798819725


   rerun failure checks


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [bookkeeper] merlimat merged pull request #2643: adjust default rocksDbBlockCache size to 10%/numberOfLedgers of direct memory

Posted by GitBox <gi...@apache.org>.
merlimat merged pull request #2643:
URL: https://github.com/apache/bookkeeper/pull/2643


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org