-
Notifications
You must be signed in to change notification settings - Fork 652
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
probable memory leak observed after deploying delivery.report.only.error=true #306
Comments
Thanks for the heap dumps, very useful! For each message produced the Go client allocates a small state object (cgoDr) which is later freed when the delivery report is received. What we'll need to do is intercept the configuration property and not passing it on to librdkafka, but instead filter out the successful delivery reports on the Go side instead so that the cgoDr object can be freed. Until that fix is in we recommend not to set |
Thanks. Until this is fixed, we should also add a note to the README against setting this. |
I think we should fail NewProducer if this property is set. |
.. to avoid a cgoDr memory leak per successful message.
.. to avoid a cgoDr memory leak per successful message.
.. to avoid a cgoDr memory leak per successful message.
.. to avoid a cgoDr memory leak per successful message.
Hi, is this getting fixed in the upcoming 1.0 release? |
Fixed as in support it, or reject it? |
Description
We deployed a build last night that turned off success acks. Exactly since the deployment, we're seeing monotonically increasing memory usage, which points to a memory leak. We're attaching the difference of two heap dumps taken 30mins apart.
How to reproduce
This issue was observed in production. We're working on reproducing this in a load environment.
Checklist
Please provide the following information:
LibraryVersion()
): both v0.11.6"debug": ".."
as necessary)The text was updated successfully, but these errors were encountered: