Skip to content

Commit

Permalink
set tikv default max-open-files to 1024 to avoid quick start error (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
tennix authored Sep 18, 2018
1 parent 2f4b890 commit 557c355
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/tikv.toml
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ address = "pushgateway:9091"
# If max-open-files = -1, RocksDB will prefetch index and filter blocks into
# block cache at startup, so if your database has a large working set, it will
# take several minutes to open the db.
# max-open-files = 40960
max-open-files = 1024

# Max size of rocksdb's MANIFEST file.
# For detailed explanation please refer to https://github.com/facebook/rocksdb/wiki/MANIFEST
Expand Down Expand Up @@ -418,7 +418,7 @@ address = "pushgateway:9091"

[raftdb]
# max-sub-compactions = 1
# max-open-files = 40960
max-open-files = 1024
# max-manifest-file-size = "20MB"
# create-if-missing = true

Expand Down

0 comments on commit 557c355

Please sign in to comment.