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

RayOnSpark raises zombie exception #574

Closed
songhappy opened this issue Nov 6, 2020 · 2 comments
Closed

RayOnSpark raises zombie exception #574

songhappy opened this issue Nov 6, 2020 · 2 comments

Comments

@songhappy
Copy link
Contributor

environment: MacOS 10.15.7, python3.6
code

from zoo.orca import init_orca_context, stop_orca_context
import ray
from zoo.ray import RayContext
sc = init_orca_context(cluster_mode="local", cores=8, memory="20g")
ray_ctx = RayContext(sc=sc, object_store_memory="5g")
ray_ctx.init()
ray_ctx.stop()
sc.stop()

error message
ray_ctx.init()
File "/Users/guoqiong/opt/anaconda3/envs/py36tf2/lib/python3.6/site-packages/zoo/ray/raycontext.py", line 473, in init
kill_redundant_log_monitors(self._address_info["redis_address"])
File "/Users/guoqiong/opt/anaconda3/envs/py36tf2/lib/python3.6/site-packages/zoo/ray/raycontext.py", line 70, in kill_redundant_log_monitors
cmdline = subprocess.list2cmdline(proc.cmdline())
File "/Users/guoqiong/opt/anaconda3/envs/py36tf2/lib/python3.6/site-packages/psutil/init.py", line 675, in cmdline
return self._proc.cmdline()
File "/Users/guoqiong/opt/anaconda3/envs/py36tf2/lib/python3.6/site-packages/psutil/_psosx.py", line 342, in wrapper
return fun(self, *args, **kwargs)
File "/Users/guoqiong/opt/anaconda3/envs/py36tf2/lib/python3.6/site-packages/psutil/_psosx.py", line 429, in cmdline
return cext.proc_cmdline(self.pid)
File "/Users/guoqiong/opt/anaconda3/envs/py36tf2/lib/python3.6/contextlib.py", line 99, in exit
self.gen.throw(type, value, traceback)
File "/Users/guoqiong/opt/anaconda3/envs/py36tf2/lib/python3.6/site-packages/psutil/_psosx.py", line 374, in catch_zombie
raise ZombieProcess(proc.pid, proc._name, proc._ppid)
psutil.ZombieProcess: psutil.ZombieProcess process still exists but it's a zombie (pid=1274, name='uname')

@qiyuangong
Copy link
Contributor

It's a psutil issue on macOS. This error is quite similar to #642 (fixed by intel-analytics/analytics-zoo#2856).

Have you tried latest Zoo nighty-build on macOS?

@songhappy
Copy link
Contributor Author

this error is from pip install, good to know that it is fixed, close this one now.

@liu-shaojun liu-shaojun transferred this issue from intel-analytics/BigDL-2.x Mar 5, 2024
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

2 participants