ES 1.0版本後。默認的文件存儲模式是HD.But Mmapfs .the mamapfs存儲數據是使用虛擬內存concept.though數據存在於HD,它看起來像讀取數據從RAM.It比其他文件系統更加快捷。
所以mmapfs可能看起來消耗更多的空間,它會阻止某些地址space.But它是健康的,一點問題都沒有。
配置最佳的分片和副本號refer this。
爲了擺脫意外停機和.configure下列用語的數據丟失..
1)的ulimit因爲沒有文件來打開某些用戶必須增加高達即可。
2)沒有螺紋的,應預先configured..following是一些示例性配置
# Search pool
threadpool.search.type: fixed
threadpool.search.size: 5
threadpool.search.queue_size: 200
# Bulk pool
threadpool.bulk.type: fixed
threadpool.bulk.size: 5
threadpool.bulk.queue_size: 300
# Index pool
threadpool.index.type: fixed
threadpool.index.size: 5
threadpool.index.queue_size: 200
# Indices settings
indices.memory.index_buffer_size: 30%
indices.memory.min_shard_index_buffer_size: 12mb
indices.memory.min_index_buffer_size: 96mb
# Cache Sizes
indices.fielddata.cache.size: 15%
indices.fielddata.cache.expire: 6h
indices.cache.filter.size: 15%
indices.cache.filter.expire: 6h
# Indexing Settings for Writes
index.refresh_interval: 30s
index.translog.flush_threshold_ops: 50000
您使用的哪個ES的版本
?? – BlackPOP
最新。 1.0。 – Stillmatic1985