Elasticsearch not starting on boot

Team,

More often then not, ElasticSearch is not starting after reboot.
It is added to systemd => at least an attempt is made.
But I need to do a manual service eleasticsearch restart to get it up.

When researching the logs for errors, there is only one error in the GC log:
GC(0) Pause Young (Allocation Failure)
However, there are no JVM-logs and/or stack traces.
In addition, the ElasticSearch log of the cluster is empty.

For those who are interested and want to give this a closer look:
I have created a ZIP-file with the logs and config files after boot. This file can be downloaded here.

I'm running version 7.5 on Ubuntu 18.04.3-LTS.

Thank you for any help/feedback/suggestions,

  • Will

It looks like I was able to fix it by the pointers in this post:

For Ubuntu 18.04 this is done via '/etc/systemd/system.conf'.
I have modified the following parameters:
DefaultTimeoutStartSec=900s
DefaultTimeoutStopSec=900s

The original value was 90s.

Kind regards - Will

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