[dashboard] "new_dashboard" is leaking processes on Linux
See original GitHub issueWhat is the problem?
Ray version and other system information (Python version, TensorFlow version, OS): Ray 1.1dev
OS: Ubuntu 18.04 Python 3.6
When a ray is started and stopped with ray.init(), I see a process left over like this:
swang 30660 4805 1 16:55 pts/1 00:00:02 /home/swang/anaconda3/envs/ray-36/bin/python -u /home/swang/ray/python/ray/new_dashboard/agent.py ...
Reproduction (REQUIRED)
Please provide a script that can be run to reproduce the issue. The script should have no external library dependencies (i.e., use fake or mock data / environments):
ray.init()
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:16 (16 by maintainers)
Top Results From Across the Web
How can I find a memory leak of a running process?
Here are the steps that almost guarantee to find what is leaking memory: Find out the PID of the process which causing memory...
Read more >linux - Identifying a process that leaks memory - Server Fault
The usual way I do this is to let the system run until the swap utilization is evidently higher than it "should" be....
Read more >1920739 – Java process has high memory utilization
Bug 1920739 - Java process has high memory utilization ... Running 6 vms with total of 128GB, dashboard showing over 200GBs used.
Read more >N-sight RMM Dashboard Release Notes - N-able
To ensure an optimal experience, we regularly release new Dashboard versions. ... UPDATE: Added Linux agent option to the Add Device wizard.
Read more >Bug #720446 “memory leak in compiz when using places ...
memory leak in compiz when using places, dashboard, and exposing launcher icons with multiple quicklists. Bug #720446 reported by Doug ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Oh I think you’re right about that. It seems it’s still leaking processes. Here is the output that I have from a dashboard agent (it repeats this over and over):
The dashboard agent has a loop for checking parent is alive. https://github.com/ray-project/ray/blob/master/dashboard/agent.py#L90. Any logs for the leaked dashboard agent?