Hi,
I am running into a problem with ES service. Some cron jobs are running on my server and crawling data from other applications. Then the data is indexed in elastic.
The problem is Elastic service failed any time, and doesn't index data. Saying error
"no alive nodes found in your cluster".
I had to manually restart the Elasticsearch service, then it back up to work.
Found Log at /var/log/messages:
AHV-ID-8121 kernel: Out of memory: Kill process 36993 (java) score 143 or sacrifice child
AHV-ID-8121 kernel: Killed process 36993 (java) total-vm:6090372kB, anon-rss:2479712kB, file-rss:0kB, shmem-rss:0kB
AHV-ID-8121 systemd: elasticsearch.service: main process exited, code=killed, status=9/KILL
AHV-ID-8121 systemd: Unit elasticsearch.service entered failed state.
AHV-ID-8121 systemd: elasticsearch.service failed.
AHV-ID-8121 dockerd: time="2017-11-02T12:23:41.973997500Z" level=info msg="libcontainerd: new containerd process, pid: 38366"
AHV-ID-8121 systemd-logind: Removed session 143489.
(FYI: I am using very basic Elastic configuration)
What can be the cause? Any help Please!