Difference between revisions of "Cannot connect to Elasticsearch"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 3: Line 3:
  service elasticsearch restart
  service elasticsearch restart


'''Alternative method:'''
'''Server with < 4GB RAM'''


Set following parameters in /etc/sysconfig/elasticsearch
USE IT AT YOUR OWN RISK!


ES_HEAP_SIZE=128m
Run this script: /mor/install_script/trunk/sh_scripts/elasticsearch/es_low_ram_fix.sh
...
ES_DIRECT_SIZE=128m
 
and restart elasticsearch
 
service elasticsearch restart


= See also =
= See also =
* [[Recommended hardware]]
* [[Recommended hardware]]

Revision as of 12:39, 9 October 2015

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

service elasticsearch restart

Server with < 4GB RAM

USE IT AT YOUR OWN RISK!

Run this script: /mor/install_script/trunk/sh_scripts/elasticsearch/es_low_ram_fix.sh

See also