Why does my Tornado/Flask server choke and die on Windows when hammering it with requests? Why does my Tornado/Flask server choke and die on Windows when hammering it with requests? flask flask

Why does my Tornado/Flask server choke and die on Windows when hammering it with requests?


I guess you are running out of ports. Every connection you make blocks a port and it takes some time to close them, on Windows longer than on other operating systems. As a symptom is should work gain after some time, but only shortly.

You can check that with netstat.