|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ Series Stress Testing In Java |
« View previous topic :: View next topic » |
Author |
Message
|
amigo21 |
Posted: Sat Jun 22, 2002 9:33 pm Post subject: MQ Series Stress Testing In Java |
|
|
Newbie
Joined: 02 May 2002 Posts: 8
|
Hi,
I 've set up the following environment where there are 9 QMGRs and for each QMGR, there is 10 Queues. The MaxDepth for each queue is 1000.
Next, I start the Get Message program written in Java. For this Get Program, it is normalised to QMGR level, i.e for 9 QMGRs, I'll start 9 sessions of the Get Program. What this program does is to loop through all the queues for the QMGR concerned for the session and get the next message. It will keep looping infinitely.
After that, I'll start the Put program, written in Java that place messages into each and every queues in the system. This process will goes on infinitely.
Initially, all process are running fine but after some time, ranging from 20 mins to a few hours later, some of the QMGRs will stopped suddenly, stating unexpected error has occurred.
Does anyone have any idea what has happen and how the problem can be rectify? Also, is this the right set up for stress testing? After this setup, I'm intending to expand the set-up to have mutliple put program placing messages on the same queues.
Kindly advise. Thanks!
Yours,
Andrew |
|
Back to top |
|
 |
krishrammohan |
Posted: Sun Jun 23, 2002 8:56 pm Post subject: |
|
|
Newbie
Joined: 11 Aug 2001 Posts: 9
|
Why are you using 9 Queuemanagers Why not one?
Need some details about your application.. |
|
Back to top |
|
 |
amigupta1978 |
Posted: Sun Jun 23, 2002 9:23 pm Post subject: |
|
|
Centurion
Joined: 22 Jan 2002 Posts: 132 Location: India
|
hi,
can u chk for the number of connections which u r opening. Just a guess that in ur loop u might have by mistake open new connections to QManager and the number of processes exceed ur system limit.
Rgds,
Amit |
|
Back to top |
|
 |
zpat |
Posted: Mon Jun 24, 2002 1:35 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
You can get a very good Java based MQ stress testing tool free from back issues of MQ Update
www.xephon.com/mq
Issues August 1999 and September 1999.
These issues are free - more recent ones require a subscription (highly recommended) |
|
Back to top |
|
 |
amigo21 |
Posted: Mon Jun 24, 2002 4:09 am Post subject: Stress Testing |
|
|
Newbie
Joined: 02 May 2002 Posts: 8
|
Hi,
Actually the reason for using 9 QMs is because it is going to be a shared service and used by different Applications. Also, there is no additional open connection. As such, the process limit set by system is not reached.
Hope this can help you guys to narrow down where the problem might be.
Yours,
Tom |
|
Back to top |
|
 |
rtrabucc |
Posted: Mon Jun 24, 2002 10:41 am Post subject: Me too! |
|
|
Novice
Joined: 22 May 2002 Posts: 16 Location: Bedford MA
|
I've been also doing some high volume/large number of queue testing and I've run into the same sorts of problems. Usually eveything goes fine for awhile and then I'd get a JMS2007 or JMS2009 error. I looked in the log files every time and I saw some contact admin stuff, usually having to do with my queue depth or the size of my log files. I found that the larger the messages I was sending between the apps, the faster the log files would fill.
In order to do my testing and get a 50 sender, 50 receiver, and 50 queue test sending 10K messages going I had to do the following:
Redo my queue manager so the maximum log file size (X4m) is 4096, not the 256 given by default. Also, make sure you have enough channels by setting MaxActiveChannel and Max Channel using the MQ Services application. Also set the MaxHandles property for the queue manager to something much higher than the 100 default. You do this through the MQ Explorer tools by looking at and changing the queue mananger properties.
Bob |
|
Back to top |
|
 |
zpat |
Posted: Thu Jul 04, 2002 3:40 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|