Answer the question
In order to leave comments, you need to log in
Multithreaded python script, "filedescriptor out of range in select"?
there is a python script, many threads get an error,
and the more threads, the greater the number of messages about such errors.
for example, for 1000 threads there are almost none, and for 7000 threads it is full.
how to fix?
Traceback (most recent call last):
.....
File "parser.py", line 100, in getContent
r, w, e = select.select([s], [], [], 5)
ValueError: filedescriptor out of range in select()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question