We have Elasticsearch installed and configured on Digitalocean . and ES getting shut down after some times.
ES log :
sudo journalctl --unit elasticsearch --since "2017-07-20"
Jul 20 06:19:11 ubuntu-2gb-sgp1-01 systemd[1]: Starting Elasticsearch...
Jul 20 06:19:11 ubuntu-2gb-sgp1-01 systemd[1]: Started Elasticsearch.
Jul 20 06:19:13 ubuntu-2gb-sgp1-01 elasticsearch[11523]: [2017-07-20T06:19:13,388][WARN ][o.e.c.l.LogConfigurator ] igJul 20 08:32:50 ubuntu-2gb-sgp1-01 systemd[1]: elasticsearch.service: Main process exited, code=killed, status=9/KILL
Jul 20 08:32:50 ubuntu-2gb-sgp1-01 systemd[1]: elasticsearch.service: Unit entered failed state.
Jul 20 08:32:50 ubuntu-2gb-sgp1-01 systemd[1]: elasticsearch.service: Failed with result 'signal'.
Jul 20 08:36:32 ubuntu-2gb-sgp1-01 systemd[1]: Starting Elasticsearch...
Jul 20 08:36:32 ubuntu-2gb-sgp1-01 systemd[1]: Started Elasticsearch.
Jul 20 08:36:35 ubuntu-2gb-sgp1-01 elasticsearch[13428]: [2017-07-20T08:36:35,361][WARN ][o.e.c.l.LogConfigurator ] igJul 20 09:20:57 ubuntu-2gb-sgp1-01 systemd[1]: elasticsearch.service: Main process exited, code=killed, status=9/KILL
Jul 20 09:20:57 ubuntu-2gb-sgp1-01 systemd[1]: elasticsearch.service: Unit entered failed state.
Jul 20 09:20:57 ubuntu-2gb-sgp1-01 systemd[1]: elasticsearch.service: Failed with result 'signal'.
Jul 20 10:16:30 ubuntu-2gb-sgp1-01 systemd[1]: Starting Elasticsearch...
Jul 20 10:16:30 ubuntu-2gb-sgp1-01 systemd[1]: Started Elasticsearch.
Jul 20 10:16:33 ubuntu-2gb-sgp1-01 elasticsearch[14343]: [2017-07-20T10:16:33,093][WARN ][o.e.c.l.LogConfigurator ] iglines 89-117/117 (END)
Server Details:
UBUNTU 16.04
20GB SSD
2GB RAM