New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
too many file descriptors in select() #1802
Comments
This is why windows is not a fully-supported platform for Tornado: the |
ok,thanks a lot. but is there any solutions to close the connection manually in windows system? i tryied to use
or
behind the self.write but still not working. or windows system is really not a good options for the http server~~~ |
Don't call any of the I think what you want is to reduce the Windows may be a good option for other HTTP server software, but it's not a good fit for Tornado. If you want to stick with windows, consider using |
problem:
too many file descriptors in select()
problem describe:
i use tornado as a http server and using the asynchronous/coroutine method.
code structer is like:
and then we stress test the server capacity which make HTTP POST request 10 time per second.
after about 3 minutes: the server shut down and report:
too many file descriptors in select()
*** environment
OS: windows 10
python: Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 24 2015, 22:44:40) [MSC v.1600 64 bit (AMD64)] on win32
tornado: 4.2.1
The text was updated successfully, but these errors were encountered: