Skip to content

Instantly share code, notes, and snippets.

@timconradinc
Created May 16, 2013 18:01
Show Gist options
  • Save timconradinc/5593704 to your computer and use it in GitHub Desktop.
Save timconradinc/5593704 to your computer and use it in GitHub Desktop.
elasticsearch.yml
# Force all memory to be locked, forcing the JVM to never swap
bootstrap.mlockall: true
# Indexing Settings for Writes
indices.memory.index_buffer_size: 50%
index.refresh_interval: 30
index.translog.flush_threshold_ops: 50000
index.store.compress.stored: true
index.routing.allocation.total_shards_per_node: 6
## Threadpool Settings ##
# Search pool
threadpool.search.type: fixed
threadpool.search.size: 20
threadpool.search.queue_size: 100
# Bulk pool
threadpool.bulk.type: fixed
threadpool.bulk.size: 60
threadpool.bulk.queue_size: 300
# Index pool
threadpool.index.type: fixed
threadpool.index.size: 128
threadpool.index.queue_size: 1024
# Minimum nodes alive to constitute an operational cluster
# discovery.zen.minimum_master_nodes: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment