error: can't start new thread

前端 未结 8 1418
天涯浪人
天涯浪人 2020-12-01 12:31

I have a site that runs with follow configuration:

Django + mod-wsgi + apache

In one of user\'s request, I send another HTTP request to another service, and

8条回答
  •  忘掉有多难
    2020-12-01 12:31

    You are starting more threads than can be handled by your system. There is a limit to the number of threads that can be active for one process.

    Your application is starting threads faster than the threads are running to completion. If you need to start many threads you need to do it in a more controlled manner I would suggest using a thread pool.

提交回复
热议问题