dask / dask/distributed

Workers have started leaking threads

Open
#5,049 1 comment 0 reactions 0 assignees View on GitHub
flaky test
Dominant language
Python
Stars
1.7k
Forks
778
Avg merge
2h 50m
Merged PRs (30d)
3

Description

I've been stress-testing the test suite for the last week.
Starting on 2021-07-10, test_no_threads_lingering has occasionally and randomly started failing - 8 times over 360 runs.
I have 0 failures on 2021-07-08.
This seems to be agnostic to OS and Python version.

Test output:
```
==== Found 43 active threads: ====
<_MainThread(MainThread, started 4424)>

```

Dask-Default-Threads are spawned by distributed/worker.py.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.