Skip to content

Commit

Permalink
Increase bookkeeper disk usage threshold for pulsar standalone (apach…
Browse files Browse the repository at this point in the history
  • Loading branch information
sijie committed Mar 4, 2018
1 parent b7d3083 commit 9bc41ab
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,8 @@ public void startStandalone() throws Exception {
conf.setLedgerManagerFactoryClassName("org.apache.bookkeeper.meta.HierarchicalLedgerManagerFactory");
// conf.setLedgerStorageClass(DbLedgerStorage.class.getName());
conf.setLedgerStorageClass(SortedLedgerStorage.class.getName());
conf.setDiskUsageThreshold(1.0f);
conf.setDiskUsageWarnThreshold(0.9999f);
conf.setProperty("dbStorage_writeCacheMaxSizeMb", 256);
conf.setProperty("dbStorage_readAheadCacheMaxSizeMb", 64);
conf.setFlushInterval(60000);
Expand Down

0 comments on commit 9bc41ab

Please sign in to comment.