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