Bug 1470792 - global thread pool is not shared among multiple RA connection factories
global thread pool is not shared among multiple RA connection factories
Status: NEW
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: HornetQ (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: jboss-set
Peter Mackay
Depends On:
  Show dependency treegraph
Reported: 2017-07-13 12:43 EDT by Amine Belkoura
Modified: 2017-07-13 12:43 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
6.2 thread dump (776.52 KB, text/plain)
2017-07-13 12:43 EDT, Amine Belkoura
no flags Details

  None (edit)
Description Amine Belkoura 2017-07-13 12:43:47 EDT
Created attachment 1297770 [details]
6.2 thread dump

Description of problem:

With a setting for the RA connection factory like following:

                  <pooled-connection-factory name="notif-hornetq-ra">
                           <transaction mode="xa"/>
                               <connector-ref connector-name="in-vm"/>
                               <entry name="java:/NotificationXAConnectionFactory"/>

For the same test, the number of threads increased more than 10x between hornetQ 2.3.25.SP8 and hornetQ 2.3.25.SP6

$ grep -r "HornetQ-client-factory-threads" threaddump_JBoss_6.2.4.txt  | wc -l
$ grep -r "HornetQ-client-factory-threads" threaddump_JBoss_6.4.15.txt  | wc -l

it is possible that the global thread pool is shared between the multiple CF created.

Customer thread dumps attached

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:

Actual results:

Expected results:

Additional info:

Note You need to log in before you can comment on or make changes to this bug.