-
Notifications
You must be signed in to change notification settings - Fork 905
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
fix(userspace/engine): fix memory leak #2877
fix(userspace/engine): fix memory leak #2877
Conversation
Signed-off-by: Roberto Scolaro <roberto.scolaro21@gmail.com>
This PR may bring feature or behavior changes in the Falco engine and may require the engine version to be bumped. Please double check userspace/engine/falco_engine_version.h file. See versioning for FALCO_ENGINE_VERSION. /hold |
@incertum maybe this is related to the memory leak that you found some time ago 🤔 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
I'll gladly test deploy soon and let's see. Evidence that it also happened when using Falco only for the k8s plugins suggests this is in the right area of the code base.
At the same time tons of servers do not show any memory leaks ... This is the puzzling part. It's nothing consistent or easy to find so to say.
LGTM label has been added. Git tree hash: 83d6e339143405cec91af34ac27736cec7039c6c
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: FedeDP, incertum, therealbobo The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/milestone 0.37.0 |
/unhold |
/milestone 0.36.2 |
/milestone 0.37.0 |
What type of PR is this?
/kind bug
Any specific area of the project related to this PR?
/area engine
What this PR does / why we need it:
This fixes a memory leak:
compiler.compile()
allocates asinp_filter
but never destroys it.Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: