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

Dask worker having memory leaks #3096

Closed
dickreuter opened this issue Sep 26, 2019 · 4 comments
Closed

Dask worker having memory leaks #3096

dickreuter opened this issue Sep 26, 2019 · 4 comments

Comments

@dickreuter
Copy link

I have a process that runs around 500 client.submit() with dask distributed.

I have noticed that memory usage is gradually increasing on each worker. This only happens when I'm calling the tasks over dask distributed, but not when I call them directly in sequence.

What's the best way to detect / trace down memory leaks that coud be caused the a dask worker?

@mrocklin
Copy link
Member

mrocklin commented Oct 1, 2019

What's the best way to detect / trace down memory leaks that coud be caused the a dask worker?

Just however you would do this normally in Python. You might find things easier if you put them all in the same process/thread with the async mechanisms.

@mrocklin
Copy link
Member

mrocklin commented Oct 1, 2019

(my apologies for the delayed response)

@TomAugspurger
Copy link
Member

Just FYI, there are many issues reporting seeming memory leaks. #2757 went into some depth and things maybe point to Python's object allocater, but it's hard (for me) to say for certain.

@mrocklin
Copy link
Member

Thanks for the summary @TomAugspurger . Closing this as it's handled elsewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants