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

Memory leak with sarama on KEDA 2.15 #6496

Open
akhilbalaji94 opened this issue Jan 22, 2025 · 0 comments
Open

Memory leak with sarama on KEDA 2.15 #6496

akhilbalaji94 opened this issue Jan 22, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@akhilbalaji94
Copy link

Report

We have observed a memory leak in the sarama library used in the keda-operator app which is causing the keda-operator pod to be OOM killed. The issue arises when there a many invalid kafka scaledobjects objects configured. We've enabled profiling on the keda-operator and see the below usage in the heap

Image

Expected Behavior

The keda-operator app should not have a memory leak

Actual Behavior

The keda-operator pod getting OOM killed frequently

Steps to Reproduce the Problem

  1. Install KEDA 2.15.1
  2. Create a bunch of invalid kafka scaledobjects
  3. Observe the pod memory usage increasing gradually until it gets OOM Killed

Logs from KEDA operator

example

KEDA Version

2.15.1

Kubernetes Version

1.28

Platform

Microsoft Azure

Scaler Details

Kafka

Anything else?

No response

@akhilbalaji94 akhilbalaji94 added the bug Something isn't working label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: To Triage
Development

No branches or pull requests

1 participant