Recently, company test the API that I developed. (Use Flask)
If a new user connect, I need to create a thread to process his request.
When it came to about 2000 users. It showed
File "C:\python27\Lib\threading.py", line 494, in start
_start_new_thread(self.__bootstrap, ())
error: can't start new thread
I've surveyed related question. But still don't know how to solve this problem.
Is there any parameter that I can increase the thread number ?
Or
How can I solve this problem?
I will thank you so so so much ~!!