[jboss-jira] [JBoss JIRA] (AS7-2034) Asynchronous EJB thread pool maximum size is set to "Runtime.getRuntime().availableProcessors()"
Stian Thorgersen (Created) (JIRA)
jira-events at lists.jboss.org
Fri Oct 7 05:05:16 EDT 2011
Asynchronous EJB thread pool maximum size is set to "Runtime.getRuntime().availableProcessors()"
------------------------------------------------------------------------------------------------
Key: AS7-2034
URL: https://issues.jboss.org/browse/AS7-2034
Project: Application Server 7
Issue Type: Bug
Affects Versions: 7.0.2.Final
Reporter: Stian Thorgersen
Attachments: agility-async_test.jar, AsyncBean.java, InvokerBean.java
The thread pool service used to execute @Asynchronous EJB methods have been set to "Runtime.getRuntime().availableProcessors()". This is clearly not a sensible default as on a single core CPU (or VM) only a single @Asynchronous method is executed concurrently. I would imagine a sensible default would be at least 10.
It would also be very useful if it was possible set this value in the configuration files.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list