Cannot connect to Elasticsearch

From Kolmisoft Wiki
Revision as of 12:34, 9 October 2015 by Nerijuss (talk | contribs)
Jump to navigationJump to search

Make sure your server has at least 4GB of RAM, then restart elasticsearch service:

service elasticsearch restart

Alternative method:

Set following parameters in /etc/sysconfig/elasticsearch

ES_HEAP_SIZE=128m
...
ES_DIRECT_SIZE=128m

and restart elasticsearch

service elasticsearch restart

See also