Hi Elastic users,
We are using ES 2.4.5 along with Liferay DXP, we have set it up with the default configuration.
We are having (1node, 1 shard and 0 replicas) on ES 2.4.5 running on EC2 (4CPU, 16GB RAM).
On a daily basis we are getting errors which makes our application hung with CPU utilization around 100%.
When we checked the ES logs we get the following error,
"
[2018-06-30 11:24:36,996][WARN ][cluster.routing.allocation.decider] [EDEL_PROD] high disk watermark [90%] exceeded on [aFU5IsoLSnqE7IRip8vS2Q][EDEL_PROD][/var/lib/elasticsearch/EDEL_PROD_ES/nodes/0] free: 648.1mb[8.1%], shards will be relocated away from this node
[2018-06-30 11:25:07,036][WARN ][cluster.routing.allocation.decider] [EDEL_PROD] high disk watermark [90%] exceeded on [aFU5IsoLSnqE7IRip8vS2Q][EDEL_PROD][/var/lib/elasticsearch/EDEL_PROD_ES/nodes/0] free: 647.8mb[8.1%], shards will be relocated away from this node
[2018-06-30 11:25:07,036][INFO ][cluster.routing.allocation.decider] [EDEL_PROD] rerouting shards: [high disk watermark exceeded on one or more nodes]
[2018-06-30 11:25:23,446][INFO ][node ] [EDEL_PROD] stopping ...
[2018-06-30 11:25:23,548][DEBUG][action.search ] [EDEL_PROD] [liferay-20116][1], node[aFU5IsoLSnqE7IRip8vS2Q], [P], v[2], s[STARTED], a[id=7KUmuNqaQ9uzdPajCJl-NQ]: Failed to execute [org.elasticsearch.action.search.SearchRequest@faa0617] lastShard [true]
TransportException[transport stopped, action: indices:data/read/search[phase/query]]
at org.elasticsearch.transport.TransportService$2.run(TransportService.java:206)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
[2018-06-30 11:25:23,558][DEBUG][action.search ] [EDEL_PROD] [liferay-20116][3], node[aFU5IsoLSnqE7IRip8vS2Q], [P], v[2], s[STARTED], a[id=TM6XUZd7RKu1p4a0gUaKRA]: Failed to execute [org.elasticsearch.action.search.SearchRequest@faa0617] lastShard [true]
TransportException[transport stopped, action: indices:data/read/search[phase/query]]
at org.elasticsearch.transport.TransportService$2.run(TransportService.java:206)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
[2018-06-30 11:25:23,558][DEBUG][action.search ] [EDEL_PROD] [liferay-20116][0], node[aFU5IsoLSnqE7IRip8vS2Q], [P], v[2], s[STARTED], a[id=hYw_B9ELSnqq635LB-cniw]: Failed to execute [org.elasticsearch.action.search.SearchRequest@faa0617] lastShard [true]
TransportException[transport stopped, action: indices:data/read/search[phase/query]]
at org.elasticsearch.transport.TransportService$2.run(TransportService.java:206)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
[2018-06-30 11:25:23,566][DEBUG][action.search ] [EDEL_PROD] [liferay-20116][2], node[aFU5IsoLSnqE7IRip8vS2Q], [P], v[2], s[STARTED], a[id=a1ce9XYQS7eF7DW0TrnB8A]: Failed to execute [org.elasticsearch.action.search.SearchRequest@2b88c1f6] lastShard [true]
TransportException[transport stopped, action: indices:data/read/search[phase/query]]
at org.elasticsearch.transport.TransportService$2.run(TransportService.java:206)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
[2018-06-30 11:25:23,566][DEBUG][action.search ] [EDEL_PROD] [liferay-20116][1], node[aFU5IsoLSnqE7IRip8vS2Q], [P], v[2], s[STARTED], a[id=7KUmuNqaQ9uzdPajCJl-NQ]: Failed to execute [org.elasticsearch.action.search.SearchRequest@2b88c1f6] lastShard [true]
TransportException[transport stopped, action: indices:data/read/search[phase/query]]
at org.elasticsearch.transport.TransportService$2.run(TransportService.java:206)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
[2018-06-30 11:25:23,566][DEBUG][action.search ] [EDEL_PROD] [liferay-20116][2], node[aFU5IsoLSnqE7IRip8vS2Q], [P], v[2], s[STARTED], a[id=a1ce9XYQS7eF7DW0TrnB8A]: Failed to execute [org.elasticsearch.action.search.SearchRequest@faa0617] lastShard [true]
TransportException[transport stopped, action: indices:data/read/search[phase/query]]
at org.elasticsearch.transport.TransportService$2.run(TransportService.java:206)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
"
Any hint will be appreciated.
Thanks in advance.