I have a python script summarize output from multiple text files and including Ray package to speed up the process. Usually its worked very well but today when I start the script I found this error:
2022-02-10 08:51:37,066 INFO services.py:1090 -- View the Ray dashboard at http://127.0.0.1:8265
F0210 08:51:47.099318 14524 14524 raylet_client.cc:57] Could not connect to socket /tmp/ray/session_2022-02-10_08-51-36_630301_14524/sockets/raylet
*** Check failure stack trace: ***
@ 0x7fe1ef38eb5d google::LogMessage::Fail()
@ 0x7fe1ef38ffcc google::LogMessage::SendToLog()
@ 0x7fe1ef38e839 google::LogMessage::Flush()
@ 0x7fe1ef38ea51 google::LogMessage::~LogMessage()
@ 0x7fe1ef341ec9 ray::RayLog::~RayLog()
@ 0x7fe1ef05d30f ray::raylet::RayletConnection::RayletConnection()
@ 0x7fe1ef05e620 ray::raylet::RayletClient::RayletClient()
@ 0x7fe1ef001b7b ray::CoreWorker::CoreWorker()
@ 0x7fe1ef005734 ray::CoreWorkerProcess::CreateWorker()
@ 0x7fe1ef0069a2 ray::CoreWorkerProcess::CoreWorkerProcess()
@ 0x7fe1ef00737b ray::CoreWorkerProcess::Initialize()
@ 0x7fe1eef3b603 __pyx_pw_3ray_7_raylet_10CoreWorker_1__cinit__()
@ 0x7fe1eef3cd65 __pyx_tp_new_3ray_7_raylet_CoreWorker()
@ 0x531e75 (unknown)
@ 0x4f9999 _PyObject_MakeTpCall
@ 0x55b5e4 _PyEval_EvalFrameDefault
@ 0x555d8f _PyEval_EvalCodeWithName
@ 0x4fa15d _PyFunction_Vectorcall
@ 0x557450 _PyEval_EvalFrameDefault
@ 0x555d8f _PyEval_EvalCodeWithName
@ 0x4fa15d _PyFunction_Vectorcall
@ 0x557450 _PyEval_EvalFrameDefault
@ 0x555810 _PyEval_EvalCodeWithName
@ 0x555503 PyEval_EvalCode
@ 0x615e30 (unknown)
@ 0x615dce (unknown)
@ 0x477194 (unknown)
@ 0x476f77 PyRun_SimpleFileExFlags
@ 0x424898 (unknown)
@ 0x5e7809 Py_BytesMain
@ 0x7fe1f0a49bf7 __libc_start_main
@ 0x5e771a _start
Aborted (core dumped)
About the script, its worked very well on another computer I put to it and I have used this script for months without any problem. Can someone explained for me what happened and how to solve it, thank you very much
EDIT 1: I just reinstall ray through pip and when the script started I have new error:
terminate called after throwing an instance of 'std::system_error'
what(): Resource temporarily unavailable
Fatal Python error: Aborted
Stack (most recent call first):
File "/home/ubuntu/.local/lib/python3.8/site-packages/ray/state.py", line 77 in _really_init_global_state
File "/home/ubuntu/.local/lib/python3.8/site-packages/ray/state.py", line 45 in _check_connected
File "/home/ubuntu/.local/lib/python3.8/site-packages/ray/state.py", line 236 in next_job_id
File "/home/ubuntu/.local/lib/python3.8/site-packages/ray/state.py", line 766 in next_job_id
File "/home/ubuntu/.local/lib/python3.8/site-packages/ray/worker.py", line 1399 in connect
File "/home/ubuntu/.local/lib/python3.8/site-packages/ray/worker.py", line 961 in init
File "/home/ubuntu/.local/lib/python3.8/site-packages/ray/_private/client_mode_hook.py", line 105 in wrapper
File "multianalysis.py", line 6 in <module>
Aborted (core dumped)
CodePudding user response:
