Open kfstorm opened 2 years ago
Hi, I'm a bot from the Ray team :)
To help human contributors to focus on more relevant issues, I will automatically add the stale label to issues that have had no activity for more than 4 months.
If there is no further activity in the 14 days, the issue will be closed!
You can always ask for help on our discussion forum or Ray's public slack channel.
Still valid
Hi, I'm a bot from the Ray team :)
To help human contributors to focus on more relevant issues, I will automatically add the stale label to issues that have had no activity for more than 4 months.
If there is no further activity in the 14 days, the issue will be closed!
You can always ask for help on our discussion forum or Ray's public slack channel.
Still valid
Hi, I'm a bot from the Ray team :)
To help human contributors to focus on more relevant issues, I will automatically add the stale label to issues that have had no activity for more than 4 months.
If there is no further activity in the 14 days, the issue will be closed!
You can always ask for help on our discussion forum or Ray's public slack channel.
Python workers leverage
setproctitle
to update the process title to something likeray::IDLE
orray::IDLE_SpillWorker
. Sometimes we need to match the titles of processes returned frompsutil.process_iter()
to get the info of workers. e.g.https://github.com/ray-project/ray/blob/b3a9d4d87d31255e0871852efaf1ddff7acdc390/python/ray/tests/test_multi_node.py#L69-L79
This works on Linux. However, on macOS,
psutil.Process.name()
returns the original command line whilepsutil.Process.cmdline()
returns a list of strings with the modified process title included.As a result, some test cases may not behave correctly on macOS.