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

ONLY PYTHON-SDK SHOWS ONLY-INCREASING-MEMORY-CURVE WHEN USING "with connection_pool.session_context(username, password) as session" EXECUTE #183

Closed
saksim opened this issue Dec 10, 2021 · 2 comments
Labels
type/question Type: question about the product

Comments

@saksim
Copy link

saksim commented Dec 10, 2021

Hello everyone.

When I use python-sdk for constructiong graph with the official demo says option 2: "with connection_pool.session_context(username, password) as session", It actually seems released dramatically session while sometimes few of session exists as alive.

The most import issuse is the monitor-curve shows my server host get OUT OF MEMORY exception, which leads to the whole service down.

Is there anyone give any hints for this?

  1. each session.execute(SQL) finished, then this session is released, but sometimes didnot
  2. i only use one python-script with eventlet.monkey_patch() for asyo, each batch 3000 points & 9000 edges at most. It seems extremely slow for building a graph with only three kinds of edge with each atmost 1 million;
  3. WHY OOM occurs?
@Aiee
Copy link
Contributor

Aiee commented Dec 29, 2021

It actually seems released dramatically session while sometimes few of session exists as alive.
Could you be more specific on this? Did you mean connection instead of the session?

  1. If the session is requested from connection_pool.session_context(), it should always release the connection
  2. We recommend using nebula-importer/nebula-exchange to import relative large data
  3. Is there any log? What was the query running?

@Sophie-Xie Sophie-Xie added the type/question Type: question about the product label Nov 30, 2022
@QingZ11
Copy link

QingZ11 commented Dec 9, 2022

We have noticed that the issue you created hasn’t been updated for nearly a month, so we have to close it for now. If you have any new updates, you are welcome to reopen this issue anytime. Thanks a lot for your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/question Type: question about the product
Projects
None yet
Development

No branches or pull requests

4 participants