Skip to content
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

Start lifecycle of "telemetry" plugin wasn't completed in 30sec #79452

Closed
rudolf opened this issue Oct 5, 2020 · 4 comments · Fixed by #79457
Closed

Start lifecycle of "telemetry" plugin wasn't completed in 30sec #79452

rudolf opened this issue Oct 5, 2020 · 4 comments · Fixed by #79457
Labels
Feature:Telemetry Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc

Comments

@rudolf
Copy link
Contributor

rudolf commented Oct 5, 2020

The telemetry plugin frequently takes more than 30s to complete which causes Kibana to fail to start up. Plugin's lifecycle methods should not block Kibana from starting up see https://github.com/elastic/kibana/blob/6042a01f385078587e8e09418ef07f69ec2dadf7/rfcs/text/0007_lifecycle_unblocked.md and #53268

Versions where I've seen this behaviour (although other versions are likely affected too):

  • 7.9.1
  • 7.9.2
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-telemetry (Team:KibanaTelemetry)

@shasts
Copy link
Member

shasts commented Oct 5, 2020

Plugin's setup lifecycle should not block Kibana from starting up

Would this help cases like https://github.com/elastic/sdh-kibana/issues/582 too?

@rudolf
Copy link
Contributor Author

rudolf commented Oct 5, 2020

@shasts No. Your link describes a case where monitoring was disabled for security reasons CVE-2020-7013 and CVE-2020-7015. However enabling or disabling a plugin causes Kibana to have to re-run the "optimizer" and this takes up considerably more memory than when Kibana runs without the optimizer. In this case, more memory than was available to Kibana.

@rudolf rudolf changed the title Setup lifecycle of "telemetry" plugin wasn't completed in 30sec Start lifecycle of "telemetry" plugin wasn't completed in 30sec Oct 5, 2020
@lukeelmers lukeelmers added the Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc label Oct 1, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Telemetry Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants