View difference between Paste ID: mNUGQCLY and Cr2rxMVC
SHOW: | | - or go back to the newest paste.
1
References:
2
https://github.com/grigorescu/Brownian/wiki/ElasticSearch-Configuration
3
http://www.elasticsearch.org/guide/reference/setup/installation/
4
5
Edit the following files to modify memory and file number limits. These instructions assume Ubuntu 10.04, may work on later versions and other distributions/OSes.
6
7
/etc/security/limits.conf:
8
elasticsearch - nofile 65535
9
elasticsearch - memlock unlimited
10
11-
bootstrap.mlockall: true
11+
12
ES_HEAP_SIZE=512m
13
MAX_OPEN_FILES=65535
14
MAX_LOCKED_MEMORY=unlimited
15
16
/etc/elasticsearch/elasticsearch.yml:
17
bootstrap.mlockall: true