Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367175 - SSL 100% CPU spin in case of blocked write and RST
Summary: SSL 100% CPU spin in case of blocked write and RST
Status: RESOLVED FIXED
Alias: None
Product: Jetty
Classification: RT
Component: server (show other bugs)
Version: 7.6.0.RC0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 7.5.x   Edit
Assignee: Simone Bordet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-20 07:23 EST by Simone Bordet CLA
Modified: 2012-03-01 14:06 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simone Bordet CLA 2011-12-20 07:23:45 EST
In case a client is slow to read and eventually sends a RST, the SSL machinery spins, causing 100% CPU.
Comment 1 Simone Bordet CLA 2011-12-20 07:25:31 EST
The spin was caused by a catch block that was eating the exception thrown (the exception was thrown due to the RST sent by the client), so Jetty was never closing the endpoint associated.

Fixed by closing the endpoint and rethrowing the exception.