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

[Elastic Agent] Lazy Acker causes actions queue to grow indefinitely when underlying acker fails #27980

Closed
blakerouse opened this issue Sep 16, 2021 · 2 comments · Fixed by #27981
Assignees
Labels
bug Team:Elastic-Agent Label for the Agent team v7.15.1

Comments

@blakerouse
Copy link
Contributor

Because of the way the Fleet mode of the Elastic Agent is designed it will keep adding the same actions over and over again to the lazy.Acker because the underlying Acker fails to ack the action.

This causes the queue to grow indefinitely that causes the process to consume all the memory of the system.

This is not an issue when Fleet mode can communicate with the Fleet Server, but when it fails the queue just keeps growing until either Fleet Server comes back or the system runs out of memory.

@blakerouse blakerouse added the Team:Elastic-Agent Label for the Agent team label Sep 16, 2021
@blakerouse blakerouse self-assigned this Sep 16, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/agent (Team:Agent)

@EricDavisX
Copy link
Contributor

should be shipped with 7.15.1 and all coming releases after that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Team:Elastic-Agent Label for the Agent team v7.15.1
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants