Skip to content

Cannot allocate enough workers ("Too many open files") #6988

Answered by jrbourbeau
brettc asked this question in Q&A
Discussion options

You must be logged in to vote

The default number of files/connections on macOS is quite low (I think it's something like ~128). I recommend increasing that limit by, for example, doing something like

ulimit -n 5000

in your terminal before launching you Python REPL

See https://distributed.dask.org/en/stable/faq.html#too-many-open-file-descriptors for more details.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by brettc
Comment options

You must be logged in to vote
1 reply
@brettc
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants