-
Notifications
You must be signed in to change notification settings - Fork 125
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
Zombie dbus processes generated by github.com/99designs/keyring #773
Comments
hi @mihaitodor (or anyone else stumbling into this issue) - first of all, thank you so much for raising this with us and for providing the details about the issue and even the workaround to tackle it. This is highly appreciated. I would recommend marking this as closed until a reproduction is available. The issue can be still commented to, even in Closed state, and I can reopen it when it becomes more actionable with the repro. Thank you in advance ! |
This issue appears to still exist: |
hi folks - I see sometimes people stumble into this issue; so apparently it's still here. We're taking a look. |
It hasn't been resolved, unfortunately... We're forcing a fork of > go install github.com/benthosdev/benthos/v4/cmd/benthos@latest
go: downloading github.com/benthosdev/benthos/v4 v4.20.0
go: github.com/benthosdev/benthos/v4/cmd/benthos@latest (in github.com/benthosdev/benthos/[email protected]):
The go.mod file for the module providing named packages contains one or
more replace directives. It must not contain directives that would cause
it to be interpreted differently than if it were the main module. Related issues:
It would be amazing if https://github.com/99designs/keyring addresses this issue, but I think the best bet is for both |
thank you so much for the summary and sharing your approach @mihaitodor !
Each rerun of the script produces one instance of the hopefully this allows us to address it faster. edit: i can also confirm that adding |
This issue also occurs on Vault 1.13.7 that's also making use of this Dbus package. |
I filed an issue as well, not knowing this was already raised against this repository: 99designs/keyring#135 The Snowflake receiver in the OpenTelemetry Collector is importing this repo, and thus causing a leaked goroutine there. Shown in PR description here. |
A quick summary:
So hopefully it will be fixed eventually in the |
aforementioned change has been merged, and will be part of the next driver release cycle towards end of March. |
fix released with 2024 March release, version 1.9.0 |
I noticed that
gosnowflake
added https://github.com/99designs/keyring as a dependency and, unfortunately, this library has an outstanding bug which can lead some Linux systems to create zombie dbus processes. This issue was observed initially when importing the Apache Pulsar client library into Benthos as described here and it's triggered in one of theinit()
functions fromgithub.com/99designs/keyring
. One workaround that I identified is to setDBUS_SESSION_BUS_ADDRESS=/dev/null
on process startup.I tried to reproduce it in a Docker container, but didn't succeed yet, so I opened this issue to raise awareness and I'll share detailed reproduction steps at a later time if I get more time to poke around with it.
The text was updated successfully, but these errors were encountered: