Performance issues with remote ejb client calls in JBoss EAP 6.0.x

Solution Unverified - Updated

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 6.0.x

Issue

  • We are seeing peformance issues Using Remote Clients With JBoss EAP 6.0.x

Resolution

Update to JBoss EAP 6.1.1 or later. Bugs found are fixed in the next cumulative patch release, so you should update to the latest cumulative patch release. Some one off patches were created for earlier versions, these patch only apply to the version mentioned below, as the issues are fixed in the next cumulative patch release.

JBoss EAP 6.1.1

Apply this one off patch EAP 6.1.1 : JBMAR-153 - Memory leak in reflection data

JBoss EAP 6.0.1

Recommend you update to the latest cumulative patch release, to get the fix for JBMAR-153.

Apply the patch bz-912513 (EAP 6.0.1 - Backport various Remote EJB Performance issues AS7-6013 / EJBCLIENT-55 / REM3-169) to JBoss EAP 6.0.1. If you are running JBoss EAP 6.0.0, update to JBoss EAP 6.0.1 and apply the patch.

bz-912513.zip is an updated patch from bz-903990.zip. The new patch contains the patch from bz-903990 + an additional issue that was discovered.
EAP 6.0.1 - Backport various Remote EJB Performance issues AS7-6013 / EJBCLIENT-55 / REM3-169

How to tune the ejb3 subsystem in JBoss EAP 6
https://access.redhat.com/knowledge/solutions/319783

Diagnostic Steps

  • If comparing the remote ejb calls:
    • Are the tests running on different application servers such as an older JBoss version? What are the versions being tested?
    • Is the hardware the same for both tests?
    • Is the operating system the same in both tests? What are the operating systems used on the client/server side and versions?
    • Is the JVM the same in both tests?
    • Can you provide a reproducer test that demonstrate the issue for us to test?
    • Have you checked the JVM to see if it needs to be tuned? (For example checking for garbage collection issues)
  • Review the ejb3 subsystem configuration
    • What are the bean-instance-pools configuration set to for max-pool-size ?
    • What is the thread pool max-threads count set to?
    • What are the channel-creation-options set to in the remote configuration section of the ejb3 subsystem?
Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.