Bug 986305

Summary: Client hangs if ~6000 messages are sent within transaction
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Valiantsina Hubeika <vhubeika>
Component: HornetQAssignee: Clebert Suconic <csuconic>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.1CC: esammons
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-19 12:41:28 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:

Description Valiantsina Hubeika 2013-07-19 11:34:52 UTC
Description of problem:

Client hangs when attempting to send over 6000 messages within transaction.


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


How reproducible:
100 % 

Steps to Reproduce:
1. create session with xa transactions 
2. in a loop, send a large number of messages (say 10000 messages) 
3. commit messages on the session


Actual results:

Application hangs before all messages are sent. 

   [java] 13:11:16,748 INFO  [com.redhat.mrg.PerfTestUtil] (http-localhost/127.0.0.1:8080-1) test02 #1374232275548 $5817
     [java] 13:11:16,748 INFO  [com.redhat.mrg.PerfTestUtil] (http-localhost/127.0.0.1:8080-1) test02 #1374232275548 $5818

Expected results:

10000 messages are send and commited successfully.

Additional info:

Memory and CPU on the machine is at low values.

Comment 1 Clebert Suconic 2013-07-19 12:41:28 UTC
Configure paging for that many of messages... This is expected.. you just have a misconfiguration for your use case.