Author |
Message
|
kavithadhevi |
Posted: Fri Sep 27, 2002 8:17 am Post subject: STRESS TEST - 10,000+ channel connection to one QueueManager |
|
|
 Master
Joined: 14 May 2002 Posts: 201 Location: USA
|
Hi,
Is there any tool or application to test 10,000+ channel connection to one Queuemanager. Its a stress test to find how many can one Queue Manager can take the channel connection.
I would like to write an application in Java to do the above. I am not sure how to achieve this. Suggestions please. _________________ Thanks in Advance.
Kavitha
IBM Certified System Administrator
Websphere MQ v 5.3
www.zealphoenix.com |
|
Back to top |
|
 |
pgorak |
Posted: Sun Sep 29, 2002 11:44 pm Post subject: |
|
|
 Disciple
Joined: 15 Jul 2002 Posts: 158 Location: Cracow, Poland
|
|
Back to top |
|
 |
kavithadhevi |
Posted: Mon Sep 30, 2002 12:09 pm Post subject: |
|
|
 Master
Joined: 14 May 2002 Posts: 201 Location: USA
|
Hi all,
I am trying to connect to 1 QM and 1 Q using 1 SVRCONN Channel , a loop it to 4000 where the max channel connection being 5000 using Java.
But what i happend to end up is its goes to a high of 3950 opens and then hangs, i am not sure why, is it becos of the MQ or the System.
Also i tried, 3 SVRCONN Channel to 1 QM, and 1 Q, same problem , stop s at 3950.
Any idea ? Please help me , i am not able to find out. _________________ Thanks in Advance.
Kavitha
IBM Certified System Administrator
Websphere MQ v 5.3
www.zealphoenix.com |
|
Back to top |
|
 |
pgorak |
Posted: Mon Sep 30, 2002 11:54 pm Post subject: |
|
|
 Disciple
Joined: 15 Jul 2002 Posts: 158 Location: Cracow, Poland
|
The limitations depend on your operating system, for example in HP-UX some of possible limitations are:
- the number of kernel threads - the maximum number of kernel threads in HP-UX 11 is 30,000 - each client connection requires 4 kernel threads
- the numer of file handles - each client connection requires 4 file handles
Try to investigate the use of system resources at the achieved limit of 3950 connections.
Piotr |
|
Back to top |
|
 |
Deeko |
Posted: Tue Oct 01, 2002 2:05 am Post subject: |
|
|
 Acolyte
Joined: 16 May 2001 Posts: 72 Location: Edinburgh, UK
|
Try using more than one listener if not already doing so...it can make a difference...do this from a seperate instance of your code (eg run one against 1414, one against 1415 and so on).
Regards,
Derek. |
|
Back to top |
|
 |
kavithadhevi |
Posted: Tue Oct 01, 2002 5:26 am Post subject: |
|
|
 Master
Joined: 14 May 2002 Posts: 201 Location: USA
|
Thank you for your time.
I tried with 1415 too , i guess its the same. is there anyother way that i could check for sys resource as suggested. Please suggest me. what i observed is it goes up 3950 and more sometimes then i could see it stops the process and idle for a long time and i see that it never recovers and i notice the process / open against the queue decrease with the time, so it means its not increasing and the application was not able to send any more process, this is the situation i observed.
Any suggestions to look for resources .. ?  _________________ Thanks in Advance.
Kavitha
IBM Certified System Administrator
Websphere MQ v 5.3
www.zealphoenix.com |
|
Back to top |
|
 |
udaybho |
Posted: Wed Oct 02, 2002 7:24 am Post subject: |
|
|
Voyager
Joined: 09 May 2002 Posts: 94 Location: Chicago
|
The MAX number of Active channels is controlled by MAXACTIVECHANNEL parameter under "Channels" stanza of the qm.ini file. You will get more detail in "System Administration" book under PART 1 chapter "Configuring Mqseries"
Also find out the Maximum process allowed for a user on your UNIX box. That could be another limiting factor. Each channel connection runs as a process.
Hope this helps.
Uday Bhosle |
|
Back to top |
|
 |
Toronto_MQ |
Posted: Wed Oct 02, 2002 9:45 am Post subject: |
|
|
 Master
Joined: 10 Jul 2002 Posts: 263 Location: read my name
|
Each channel uses a certain amount of memory (I don't off the top of my head remember the footprint size). Could be you're blowing memory.
Steve |
|
Back to top |
|
 |
Toronto_MQ |
Posted: Wed Oct 02, 2002 9:59 am Post subject: |
|
|
 Master
Joined: 10 Jul 2002 Posts: 263 Location: read my name
|
Found those memory usage stats (per channel):
Channel Virtual Memory Use
Trusted channels:
NT/Win2K - 175K(88k real)
AIX - 535K
HP-UX - 1700K(310K real)
Non-trusted channels:
NT/Win2K - 375K
AIX - 750K
HP-UX - 1700K(337K real)
Solaris - 1050K |
|
Back to top |
|
 |
kavithadhevi |
Posted: Wed Oct 02, 2002 11:43 am Post subject: |
|
|
 Master
Joined: 14 May 2002 Posts: 201 Location: USA
|
Hi,
Thank you those are real good tips, so what i did i initially tested the CPU usage, its fine, it utlises and it releases after a while.
I also checked memory (RAM) my sys config is 523 Meg, then i checked all the cluster server's RAM which we are using which are 1.1Gig RAM. As we are goin to run these many channels on clusters , i guess it would be apt if i test my channel stress application on any of the cluster server which has a good memory space.  _________________ Thanks in Advance.
Kavitha
IBM Certified System Administrator
Websphere MQ v 5.3
www.zealphoenix.com |
|
Back to top |
|
 |
kavithadhevi |
Posted: Mon Oct 07, 2002 10:39 am Post subject: |
|
|
 Master
Joined: 14 May 2002 Posts: 201 Location: USA
|
Hi,
I have a new confusion, is it right what am i doing? For channel stress testing, i should look for opens against a particular Queue
Please help me out understand how is the channel stress testing could be achieved. _________________ Thanks in Advance.
Kavitha
IBM Certified System Administrator
Websphere MQ v 5.3
www.zealphoenix.com |
|
Back to top |
|
 |
|