Skip to content

Instantly share code, notes, and snippets.

@flunardelli
Last active August 29, 2015 14:01
Show Gist options
  • Select an option

  • Save flunardelli/23834e51c5619ad78279 to your computer and use it in GitHub Desktop.

Select an option

Save flunardelli/23834e51c5619ad78279 to your computer and use it in GitHub Desktop.
Elasticseach config
ulimit -l unlimited
/etc/sysctl.conf
vm.swappiness = 0
/etc/sysconfig/elasticsearch
ES_HEAP_SIZE=1024m
ES_JAVA_OPTS="-server”
MAX_LOCKED_MEMORY=unlimited
/etc/elasticsearch/elasticsearch.yml
node.local: true
index.number_of_shards: 1
index.number_of_replicas: 0
bootstrap.mlockall: true
discovery.zen.ping.multicast.enabled: false
index.term_index_interval: 256
index.term_index_divisor: 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment