You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test_nanny_worker_port_range hangs on Windows #5925
Confirmed that the issue is caused by the one-line change to the logging template. dask-worker successfully connects to the scheduler (all 3 spawned worker processes) and then just simply gives no answer to the connection attempt from Scheduler.broadcast. Nothing on the stderr/stdout; it's like the connection never reached the worker. It makes no sense.
I'll further investigate. ETA tomorrow for either a fix or a revert.
The issue was that the added timestamps caused the popen stderr pipe to fill up and there was nothing flushing it. As a consequence the dask-worker subprocess was getting stuck indefinitely.
Activity
crusaderky commentedon Mar 17, 2022
Confirmed that the issue is caused by the one-line change to the logging template.
dask-workersuccessfully connects to the scheduler (all 3 spawned worker processes) and then just simply gives no answer to the connection attempt fromScheduler.broadcast. Nothing on the stderr/stdout; it's like the connection never reached the worker. It makes no sense.I'll further investigate. ETA tomorrow for either a fix or a revert.
crusaderky commentedon Mar 18, 2022
The issue was that the added timestamps caused the popen stderr pipe to fill up and there was nothing flushing it. As a consequence the dask-worker subprocess was getting stuck indefinitely.
gjoseph92 commentedon Mar 18, 2022
@crusaderky why was this only showing up on Windows? Could it actually happen anywhere, and Windows was just the canary in the coal mine?
crusaderky commentedon Mar 18, 2022
It was happening on Windows because pipe buffer size is OS-specific and it turns out that on Windows it's slightly smaller.