dask / dask/distributed

distributed.diskutils INFO showing in notebook cell

Open
#6,649 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.7k
Forks
778
Avg merge
2h 50m
Merged PRs (30d)
3

Description

When I'm on a Jupyterlab session, sometimes when starting a client, with Local cluster. I don't have a reproducer as this happens only sometimes. But the following logs appear on red when I run:

```python
from dask.distributed import Client

client = Client(n_workers=4)
```

```
2022-06-29 07:53:44,649 - distributed.diskutils - INFO - Found stale lock file and directory '/Users/ncclementi/Documents/git/my_forks/dask-tutorial/dask-worker-space/worker-2tl8qil1', purging
2022-06-29 07:53:44,650 - distributed.diskutils - INFO - Found stale lock file and directory '/Users/ncclementi/Documents/git/my_forks/dask-tutorial/dask-worker-space/worker-bl6_3xyz', purging
2022-06-29 07:53:44,650 - distributed.diskutils - INFO - Found stale lock file and directory '/Users/ncclementi/Documents/git/my_forks/dask-tutorial/dask-worker-space/worker-xwo8clv2', purging
2022-06-29 07:53:44,650 - distributed.diskutils - INFO - Found stale lock file and directory '/Users/ncclementi/Documents/git/my_forks/dask-tutorial/dask-worker-space/worker-e7vgwheh', purging
```

I usually can "fix" this by deleting the existing `dask-worker-space` directory.
**Environment**:

- Dask version: 2022.6.1
- Python version: 3.9
- Operating System: MacOS
- Install method (conda, pip, source): conda

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.