Skip to content
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

100% CPU with SSL fix #552

Merged
merged 1 commit into from Jun 29, 2012
Merged

100% CPU with SSL fix #552

merged 1 commit into from Jun 29, 2012

Conversation

vigasin
Copy link

@vigasin vigasin commented Jun 28, 2012

When some connection was reset Tornado started to use 100% of CPU. That was caused by not closed socket which constantly generated socket.error with errno.ECONNRESET code instead handled errno.ECONNABORTED.

Platform the error detected: windows. However other platforms probably affected too.

@bdarnell
Copy link
Member

Can you reproduce this with a simple test case? It's always good to get more test cases for platform-specific behavior, but if it's difficult to reproduce don't worry about it.

bdarnell added a commit that referenced this pull request Jun 29, 2012
Fix SSL error handling bug that could result in 100% cpu usage.

Possibly platform-specific; observed on windows.
@bdarnell bdarnell merged commit ff12f29 into tornadoweb:master Jun 29, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants