Bug 985191
Summary: | RejectedExecutionException printed at ERROR level when non-blocking web thread pool is used | ||
---|---|---|---|
Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | James Livingston <jlivings> |
Component: | Web | Assignee: | Rémy Maucherat <rmaucher> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.1.0 | CC: | jlivings, joallen, rmaucher |
Target Milestone: | Pending | ||
Target Release: | EAP 6.2.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-09-17 23:22:37 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 995432 | ||
Bug Blocks: | 1001872 |
Description
James Livingston
2013-07-17 04:50:49 UTC
James Livingston <jlivings> made a comment on jira JBWEB-276 This is a potential patch which adds a new error message (is using one past the last number correct?) and uses it when a RejectedExceutionException is caught instead of the normal message. It alters the NIO, APR and JIO endpoints It's a serious problem when it occurs, so I don't think I can agree with this change. For the default blocking thread pools, a RejectedExecutionException means a serious problem occurred, yes. If you switch the web container over to using a non-blocking thread pool however, so that it drops requests rather than blocking, it is expected that you would receive these. Currently if you want to make JBoss drop web requests when there are too many, it writes a large number of these errors out into the log, which would have performance implications reducing the usefulness of dropping request under excessive load. If you don't want to hide the message since it is serious for blocking thread pools, is there an alternative which would let people using non-blocking thread pools hide it? It would be possible to move it to a different logging category, which could be turned off, but adding a new logging category for one message seems excessive. I agree it is obviously the intended design in that case, but I don't know how to differentiate between the two situations since the executor is a black box. So using a dedicated subcategory for these few messages would allow filtering them out, but they should remain at error level. James Livingston <jlivings> made a comment on jira JBWEB-276 This patch is similar, except it creates a new logging category (org.apache.tomcat.util.executor) and leaves the level at ERROR. Remy Maucherat <rmaucher> updated the status of jira JBWEB-276 to Resolved Remy Maucherat <rmaucher> made a comment on jira JBWEB-276 The logging now occurs on a different category. The logging change was committed upstream. Can this issue be closed? The fix should be in 7.2.2, which according to bug 995432 is in 6.1.1, so I would say yes. |