Skip to content

Instantly share code, notes, and snippets.

@Unitech
Created September 5, 2015 15:03
Show Gist options
  • Select an option

  • Save Unitech/9faa8d7e943e02b76895 to your computer and use it in GitHub Desktop.

Select an option

Save Unitech/9faa8d7e943e02b76895 to your computer and use it in GitHub Desktop.
cluster.name: alphacentauri
node.master: true
node.max_local_storage_nodes: 1
index.mapper_dynamic: true
index.query.bool.max_clause_count: 4096
path.conf: /etc/elasticsearch
path.data: /var/lib/elasticsearch
path.work: /tmp/elasticsearch
path.logs: /var/log/elasticsearch
path.plugins: /usr/share/elasticsearch/plugins
bootstrap.mlockall: true
network.host: _em2:ipv4_
gateway.type: local
gateway.recover_after_nodes: 1
gateway.recover_after_time: 2m
gateway.expected_nodes: 1
discovery.zen.minimum_master_nodes: 1
discovery.zen.ping.timeout: 30s
discovery.zen.ping.multicast.enabled: true
discovery.zen.ping.unicast.hosts: ['10.91.71.84', '10.91.71.80']
action.auto_create_index: true
action.disable_delete_all_indices: true
index.refresh_interval: 10s
index.translog.flush_threshold_ops: 50000
# Search pool
threadpool.search.type: fixed
threadpool.search.size: 50
threadpool.search.queue_size: 200
# Bulk pool
threadpool.bulk.type: fixed
threadpool.bulk.size: 20
threadpool.bulk.queue_size: 5000
# Index pool
threadpool.index.type: fixed
threadpool.index.size: 8
threadpool.index.queue_size: 1000
#indices.memory.index_buffer_size: 60%
indices.fielddata.cache.size : 33%
index.store.type: mmapfs
indices.recovery.concurrent_streams: 2
indices.recovery.max_bytes_per_sec: '50mb'
cluster.routing.allocation.node_concurrent_recoveries: 5
cluster.routing.allocation.node_initial_primaries_recoveries: 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment