dask / distributed

A distributed task scheduler for Dask
https://distributed.dask.org
BSD 3-Clause "New" or "Revised" License
1.58k stars 719 forks source link

Worker failed to start #1825

Open brahma0545 opened 6 years ago

brahma0545 commented 6 years ago

import distributed print(distributed.__version__) 1.21.2

import tornado print(tornado.version) 4.5.3

from dask.distributed import Client, LocalCluster client = Client()

tornado.application - ERROR - Multiple exceptions in yield list Traceback (most recent call last): File "C:\Users\brahm\Anaconda3\lib\site-packages\tornado\gen.py", line 1069, in run yielded = self.gen.send(value) File "C:\Users\brahm\Anaconda3\lib\site-packages\distributed\deploy\local.py", line 196, in _start_worker raise gen.TimeoutError("Worker failed to start") tornado.gen.TimeoutError: Worker failed to start

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\brahm\Anaconda3\lib\site-packages\tornado\gen.py", line 828, in callback result_list.append(f.result()) File "C:\Users\brahm\Anaconda3\lib\site-packages\tornado\concurrent.py", line 238, in result raise_exc_info(self._exc_info) File "", line 4, in raise_exc_info File "C:\Users\brahm\Anaconda3\lib\site-packages\tornado\gen.py", line 1069, in run yielded = self.gen.send(value) File "C:\Users\brahm\Anaconda3\lib\site-packages\distributed\deploy\local.py", line 196, in _start_worker raise gen.TimeoutError("Worker failed to start") tornado.gen.TimeoutError: Worker failed to start tornado.application - ERROR - Multiple exceptions in yield list Traceback (most recent call last): File "C:\Users\brahm\Anaconda3\lib\site-packages\tornado\gen.py", line 1069, in run yielded = self.gen.send(value) File "C:\Users\brahm\Anaconda3\lib\site-packages\distributed\deploy\local.py", line 196, in _start_worker raise gen.TimeoutError("Worker failed to start") tornado.gen.TimeoutError: Worker failed to start

During handling of the above exception, another exception occurred: ... image

Athlete369 commented 5 years ago

i got the solution to this problem if client is called inside main then this works fine

hisplan commented 4 years ago

Is there a way to programatically remove or adjust nanny start timeout?

mrocklin commented 4 years ago

Thank you for your comment @hisplan . I don't think that it is related to this issue though, which is quite old and has been closed. Could I ask you to open up a new issue?

hisplan commented 4 years ago

I found more relevant issue here: https://github.com/dask/distributed/issues/4007#issuecomment-684976373