You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/06/25 23:59:58 UTC

[GitHub] [pulsar] jiazhai commented on issue #7270: bookie oom, auto exited

jiazhai commented on issue #7270:
URL: https://github.com/apache/pulsar/issues/7270#issuecomment-649874967


   ```
   15:16:23.548 [BookieWriteThreadPool-OrderedExecutor-0-0] INFO  org.apache.bookkeeper.bookie.storage.ldb.DbLedgerStorage - Write cache is full, triggering flush
   ```
   Regarding this log, we could try to set these vars.
   
   ```
   # Size of Write Cache. Memory is allocated from JVM direct memory.
   # Write cache is used to buffer entries before flushing into the entry log
   # For good performance, it should be big enough to hold a substantial amount
   # of entries in the flush interval
   #  By default it will be allocated to 1/4th of the available direct memory
   dbStorage_writeCacheMaxSizeMb=
   
   # Size of Read cache. Memory is allocated from JVM direct memory.
   # This read cache is pre-filled doing read-ahead whenever a cache miss happens
   #  By default it will be allocated to 1/4th of the available direct memory
   dbStorage_readAheadCacheMaxSizeMb=
   ```


----------------------------------------------------------------
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