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)
6.4.0
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: jboss-set
Peter Mackay
:
Depends On:
Blocks:
  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:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
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"/>
                           <max-pool-size>80</max-pool-size>
                           <connectors>
                               <connector-ref connector-name="in-vm"/>
                           </connectors>
                           <entries>
                               <entry name="java:/NotificationXAConnectionFactory"/>
                           </entries>
                           <connection-ttl>-1</connection-ttl>
                           <reconnect-attempts>-1</reconnect-attempts>
                           <use-global-pools>false</use-global-pools>
                           <scheduled-thread-pool-max-size>15</scheduled-thread-pool-max-size>
                           <thread-pool-max-size>50</thread-pool-max-size>
                       </pooled-connection-factory>

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
150
$ grep -r "HornetQ-client-factory-threads" threaddump_JBoss_6.4.15.txt  | wc -l
2226

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.