-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
SSL related leak #8149
Labels
Comments
Possible leak per pprof:
|
This looks like it's on the config side during context creation. @PiotrSikora any thoughts? |
Yep, I am trying to confirm it's actually on the config side. On the data side I am also slightly suspicious of #6326. |
Also possibly due to recent BoringSSL upgrade: #7952 |
rgs1
pushed a commit
to rgs1/envoy
that referenced
this issue
Sep 20, 2019
Per @ipuustin's suggestion, dropping the `X509_up_ref()` at: https://github.com/envoyproxy/envoy/blob/master/source/extensions/transport_sockets/tls/context_impl.cc#L121 fixes the mem leak reported at envoyproxy#8149. We do have a local deterministic repro for this, but I'll try to provide a unit test for this as well. Fixes envoyproxy#8149. Signed-off-by: Raul Gutierrez Segales <rgs@pinterest.com>
So, this was just a badly configured connection pool with a huge upstream.. Sorry for the false alarm. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We are seeing a memory leak when using the following tls_context config:
Per pprof:
This still happens with master as of yesterday, but apparently started a week or so ago. I'll try to bisect and see if any of the recent BoringSSL updates might be related.
cc: @fishcakez @derekargueta
The text was updated successfully, but these errors were encountered: