Elasticsearch suddenly unavailable

After some time, the service suddenly doesn't work...
org.elasticsearch.cluster.block.ClusterBlockException: blocked by: [SERVICE_UNAVAILABLE/1/state not recovered / initialized];

I'm using a single node instance, ES 7.10.1.
Also, I set index.number_of_replicas: 0 , but in normal conditions there should be no failure so no reason to duplicate disk space for replica.

Log is rather large and I don't know for what to look.
How can I provide the logs here? I cannot attach it as a file, and cannot post large text here due to limits...

It seems that it was killed by oom, resulting in corrupted data:

Mar 13 06:26:16 li1401-73 kernel: [2453688.445741] elasticsearch[s invoked oom-killer: gfp_mask=0x24200ca(GFP_HIGHUSER_MOVABLE), nodemask=0, order=0, oom_score_adj=0
Mar 13 06:26:16 li1401-73 kernel: [2453688.448755] elasticsearch[s cpuset=62454fa27a815428ef8f2e2716414b9e6fc3777fc6eae0b25f8a7d7093dbd409 mems_allowed=0
Mar 13 06:26:16 li1401-73 kernel: [2453688.450437] CPU: 0 PID: 7073 Comm: elasticsearch[s Tainted: G           O    4.9.0-14-amd64 #1 Debian 4.9.246-2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.