Advertisement
Guest User

Elasticsearch 1GB VPS server memory settings

a guest
Aug 9th, 2013
10,161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. /etc/default/elasticsearch:
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement