July 2016
Intermediate to advanced
180 pages
3h 16m
English
This section offers some real-world problem scenarios and solutions to use Elasticsearch.
You have a five-node production cluster, where each node has 32GB of total memory and 16GB is allocated to Elasticsearch. Lately, you've noticed a problem: every couple of days, node-05 leaves the cluster without warning. Restarting Elasticsearch on this node solves the problem temporarily, but the node will drop out of the cluster again in a few days. How do we go about looking into this issue?
The next time this error happens, check the Elasticsearch logs before restarting the node:
tail -n 500 /var/log/elasticsearch/*.log
You notice in the log file that Elasticsearch is throwing an OutOfMemoryError exception, like the following: ...
Read now
Unlock full access