Summary: | High CPU load in the NIO connector, when a client breaks connection unexpectedly | ||
---|---|---|---|
Product: | Tomcat 7 | Reporter: | Dmitry Kukushkin <dmitry.kukushkin> |
Component: | Connectors | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | michael.sonnleitner |
Priority: | P2 | ||
Version: | 7.0.26 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux |
Description
Dmitry Kukushkin
2012-03-08 15:06:51 UTC
Thanks for the test case. It made investigating this issue a whole lot easier. I fixed this with a slightly different patch that addresses the root cause - i.e. not unregistering the interest in OP_READ while the sendfile write is in progress. This has been fixed in trunk and 7.0.x and will be included in 7.0.27 onwards. I think this fix is incorrect. Due to https://issues.apache.org/bugzilla/show_bug.cgi?id=53138 |