Tag Archives: ValueError: too many file descriptors in select()

ValueError: too many file descriptors in select() [How to Solve]

Error reporting reason

The select called by Python limits the maximum number of open files

The maximum number of files opened by Linux is 1024 by default

Windows defaults to 509

If this value is exceeded, the program starts to report an error

 

Solution:

Limit the concurrency. Set the concurrency below the default value