关闭进程问题 #7
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
问题描述:每一次ray启动以及运行完成后,打开任务管理器可以发现最后会列出多个意义不明的python进程,推测是ray运行完毕时没有自动释放资源导致。
已解决,在最后加入shutdown命令,即可关闭,可以打开资源管理器观察pid号进行验证。但是如果之前的ray程序没有使用此命令,那么资源就会一直被占用。
此外,没有找到指定pid序号关闭的选项,就是说这个pid号如果不在一个程序里是确定不了的。