[jboss-jira] [JBoss JIRA] (AS7-2034) Asynchronous EJB thread pool maximum size is set to "Runtime.getRuntime().availableProcessors()"
Stuart Douglas (Resolved) (JIRA)
jira-events at lists.jboss.org
Tue Oct 18 22:33:45 EDT 2011
[ https://issues.jboss.org/browse/AS7-2034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stuart Douglas resolved AS7-2034.
---------------------------------
Fix Version/s: 7.1.0.Beta1
Resolution: Done
> 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
> Components: EJB
> Affects Versions: 7.0.2.Final
> Reporter: Stian Thorgersen
> Assignee: Stuart Douglas
> Fix For: 7.1.0.Beta1
>
> 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