Bug 1470792
Summary: | global thread pool is not shared among multiple RA connection factories | ||||||
---|---|---|---|---|---|---|---|
Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Amine Belkoura <abelkour> | ||||
Component: | HornetQ | Assignee: | jboss-set | ||||
Status: | CLOSED EOL | QA Contact: | Peter Mackay <pmackay> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 6.4.0 | CC: | csuconic, msvehla | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2019-08-19 12:47:26 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
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: