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
in my case, I added this code before starting a new thread. It gives the app a max limit of running threads will wait
while threading.active_count()>150 : time.sleep(5) getting.start()
Note: It is not a good solution but I had to find a workaround to solve that issue and this worked for me.