0

On a testing server, Elasticsearch is giving this error:

Elasticsearch::Transport::Transport::Errors::ServiceUnavailable ([503] {"error":{"root_cause":[],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[]},"status":503})

although the service is running fine.

Check whether Elasticsearch service running OK or not:

Check whether Elasticsearch service running OK or not

Then I saw that the memory usage and suspect it to be because of less than the required memory.

Check memory profile:

:~#free -m
              total        used        free      shared  buff/cache   available
Mem:          14681        9716         250        1487        4714        3316
Swap:             0           0           0

What is the available memory in the above output? Can we make use of it?

karel
  • 114,770

0 Answers0