Ok… Now you have a real lead and something to actually Google:
elasticsearch.service: Main process exited, code=killed>
The following posts look promising:
- https://discuss.elastic.co/t/elastic-search-fails-after-some-time/39965 (Configuration issue)
- https://github.com/elastic/cookbook-elasticsearch/issues/719 (Insufficient memory)
Monitoring Memory Usage
Installing htop
If you don’t have htop installed, just run the following as superuser:
sudo apt install htop
Running htop
If you wanted to, you could actually monitor the Linux Task Manager and watch your Memory usage completely fill up - And then you’d know the issue or at least rule it out.
Task Manager in Linux is ran with:
htop
You’ll find this in the upper-left.