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

[Heartbeat] Check for free memory before starting synthetic browser #23687

Open
andrewvc opened this issue Jan 26, 2021 · 5 comments
Open

[Heartbeat] Check for free memory before starting synthetic browser #23687

andrewvc opened this issue Jan 26, 2021 · 5 comments
Labels
bug enhancement Heartbeat Stalled Team:obs-ds-hosted-services Label for the Observability Hosted Services team

Comments

@andrewvc
Copy link
Contributor

andrewvc commented Jan 26, 2021

Starting a synthetic browser requires considerably more memory than a lightweight check, and the errors returned by chrome are cryptic in this situation (it often just crashes). We should do a pre-flight check for some minimum quantity of free memory, I'd recommend 750MiB and return an error if that threshold is not met. It's not perfect, but would be an improvement.

See also #32082

@andrewvc andrewvc added bug enhancement Heartbeat Team:obs-ds-hosted-services Label for the Observability Hosted Services team v7.12.0 labels Jan 26, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/uptime (Team:Uptime)

@paulb-elastic
Copy link
Contributor

Is it worth adding a param that could be used to override this (either as a switch e.g. preflight_check_memory: false, or as a value e.g. preflight_check_memory_bytes: nnn)?

@botelastic
Copy link

botelastic bot commented May 17, 2022

Hi!
We just realized that we haven't looked into this issue in a while. We're sorry!

We're labeling this issue as Stale to make it hit our filters and make sure we get back to it as soon as possible. In the meantime, it'd be extremely helpful if you could take a look at it as well and confirm its relevance. A simple comment with a nice emoji will be enough :+1.
Thank you for your contribution!

@botelastic
Copy link

botelastic bot commented Jun 23, 2023

Hi!
We just realized that we haven't looked into this issue in a while. We're sorry!

We're labeling this issue as Stale to make it hit our filters and make sure we get back to it as soon as possible. In the meantime, it'd be extremely helpful if you could take a look at it as well and confirm its relevance. A simple comment with a nice emoji will be enough :+1.
Thank you for your contribution!

@botelastic
Copy link

botelastic bot commented Dec 20, 2024

Hi!
We just realized that we haven't looked into this issue in a while. We're sorry!

We're labeling this issue as Stale to make it hit our filters and make sure we get back to it as soon as possible. In the meantime, it'd be extremely helpful if you could take a look at it as well and confirm its relevance. A simple comment with a nice emoji will be enough :+1.
Thank you for your contribution!

@botelastic botelastic bot added the Stalled label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug enhancement Heartbeat Stalled Team:obs-ds-hosted-services Label for the Observability Hosted Services team
Projects
None yet
Development

No branches or pull requests

3 participants