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

Auditbeat: Propagate output backpressure in socket dataset #32191

Closed
adriansr opened this issue Jul 4, 2022 · 1 comment · Fixed by #32192
Closed

Auditbeat: Propagate output backpressure in socket dataset #32191

adriansr opened this issue Jul 4, 2022 · 1 comment · Fixed by #32192

Comments

@adriansr
Copy link
Contributor

adriansr commented Jul 4, 2022

Describe the enhancement:

The socket dataset tracks network flows to/from processes on a Linux system using kprobe tracepoints on the kernel's TCP/IP stack.

Currently, an unbounded linked list is used to store flows ready to be reported to the output. A system with a lot of network I/O can generate events faster than they can be delivered to the output, meaning this linked list grows without limits causing more and more memory to be used by the Auditbeat process.

The dataset needs to receive backpressure from the output to avoid using too much memory.

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jul 4, 2022
@elasticmachine
Copy link
Collaborator

Pinging @elastic/security-external-integrations (Team:Security-External Integrations)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Jul 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants