Difference between revisions of "Cannot connect to Elasticsearch"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 1: Line 1:
Make sure your server has at least 4GB of RAM, then restart elasticsearch service:
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
  service elasticsearch restart

Revision as of 12:34, 9 October 2015

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