-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Bigtable: app is not closing SSL Sockets #7208
Comments
@ramonmedeiros You don't show any example code, which makes it hard to see how to reproduce the issue. My suspicion is that you are creating many instances of |
It looks like this issue is similar to a stack overflow question: https://stackoverflow.com/questions/54371554/bigtable-grpc-memory-leak-how-to-resolve @tseaver, is there a way to close the client and its connections? @googleapis/yoshi-python do we have any examples of using a |
@tseaver sorry for not providing any code, but I'm quite sure that I'm creating too much instances. I will take a look on this. |
For debugging purposes, i put a My code is something like:
Do I need to close connection when doing operations related to write/read rows? Also, saw that client.instance has a reload method. Is this helpful? |
I'm closing this issue since it happens when i call googleapiclient.discovery.build:
|
Environment details
Linux hu3br 4.18.16-300.fc29.x86_64 Add support for namespaces #1 SMP Sat Oct 20 23:24:08 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
python --version
Python 3.6.7
pip show google-<service>
orpip freeze
Name: google-cloud-bigtable
Version: 0.32.1
Summary: Google Cloud Bigtable API client library
Home-page: https://github.com/GoogleCloudPlatform/google-cloud-python
Author: Google LLC
Author-email: [email protected]
License: Apache 2.0
Steps to reproduce
Code example
# example
Stack trace
Making sure to follow these steps will guarantee the quickest resolution possible.
Thanks!
The text was updated successfully, but these errors were encountered: