ray: [dashboard] "new_dashboard" is leaking processes on Linux
What 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()
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 16 (13 by maintainers)
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?