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 2019/05/23 06:04:12 UTC

[GitHub] [pulsar] codelipenghui commented on issue #4346: Ledger directory is 100% used

codelipenghui commented on issue #4346: Ledger directory is 100% used
URL: https://github.com/apache/pulsar/issues/4346#issuecomment-495079802
 
 
   @merlimat this the config for the ledger directories
   ```
   #############################################################################
   ## Ledger storage settings
   #############################################################################
   
   # Ledger storage implementation class
   ledgerStorageClass=org.apache.bookkeeper.bookie.storage.ldb.DbLedgerStorage
   
   # Directory Bookkeeper outputs ledger snapshots
   # could define multi directories to store snapshots, separated by ','
   # For example:
   # ledgerDirectories=/tmp/bk1-data,/tmp/bk2-data
   #
   # Ideally ledger dirs and journal dir are each in a differet device,
   # which reduce the contention between random i/o and sequential write.
   # It is possible to run with a single disk, but performance will be significantly lower.
   ledgerDirectories=/data1,/data2,/data3,/data4,/data5,/data6,/data7,/data8,/data9,/data10
   # Directories to store index files. If not specified, will use ledgerDirectories to store.
   # indexDirectories=data/bookkeeper/ledgers
   
   # Interval at which the auditor will do a check of all ledgers in the cluster.
   # By default this runs once a week. The interval is set in seconds.
   # To disable the periodic check completely, set this to 0.
   # Note that periodic checking will put extra load on the cluster, so it should
   # not be run more frequently than once a day.
   auditorPeriodicCheckInterval=604800
   
   # Whether sorted-ledger storage enabled (default true)
   # sortedLedgerStorageEnabled=ture
   
   # The skip list data size limitation (default 64MB) in EntryMemTable
   # skipListSizeLimit=67108864L
   ```

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


With regards,
Apache Git Services