-
Notifications
You must be signed in to change notification settings - Fork 24.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Systemd startup timeouts after upgrade to 7.4 #49593
Comments
Also curious here is why this hasn't been observed prior to 7.4. Has something changed in this area? |
Pinging @elastic/es-core-infra (:Core/Infra/Packaging) |
Yes, the |
(Please ignore previous notification. I was reading 7.4 as 7.14 😄 ). This was added back in 7.4. Though some users may not hit this until later on nodes that are slow to start :) |
Since 7.5.1/7.6 (#49784), nodes that are slow to start should not present an issue. |
Thanks Jason! It looks like we have user run into this on 7.14. I will collect the details and file an issue accordingly for investigation. |
It has been observed/reported in a few separate environments where after an upgrade from Elasticsearch 7.3 to 7.4, systemd will kill the elasticsearch process before it finishes starting up.
The end of the log looks like this:
Trace inspection of the log reveals that the ES node is busy upgrading.
Systemd requires that processes signal after successful startup with
sd_notify(READY)
beforeTimeoutStartSec
, which in ES doesn't happen until metadata upgrades are complete. It seems that we need to update SystemdPlugin to support EXTEND_TIMEOUT_USEC in the event of any expected startup delays such as upgrade.The text was updated successfully, but these errors were encountered: