|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MAX_CHANNELS & MQJMS2005 |
« View previous topic :: View next topic » |
Author |
Message
|
starferry |
Posted: Thu Oct 31, 2002 1:32 pm Post subject: MAX_CHANNELS & MQJMS2005 |
|
|
Newbie
Joined: 30 Oct 2002 Posts: 1
|
Hi, I am working on an JMS MQ application that has 2 component, a server and handlers. The server recevie request through the server request queue, tranformed the request and put it onto the appropiate handler's request queue. The handler get the request, generate the result and put into the handler's reply queue. The server get the result and put it into the server's reply queue.
Both the server & handler run as starter tasks together on an NT machine, connect to a queue manager on a different NT machine through client connection via the same SVRCONN channel. There is only one handler in the current implementation.
During stress test of repeating test case sets, it hitted a JMS exception (JM
SException: MQJMS2005: failed to create MQQueueManager). The qmgr log has error message (AMQ9513: Maximum number of channels reached). After doubling/tripling the MAX_CHANNELS, it can run double/triple as much test case before it hitted the exception again. I'v checked to ensure that there is only one mq connect and mq disconnect during the liftetime of the server & handler.
Why it reached the max number of channel even though only one channel is used ? Any idea of what may have caused this problem ?
Any input will be appreciated !!! |
|
Back to top |
|
 |
abmanesh |
Posted: Mon Nov 04, 2002 6:51 am Post subject: |
|
|
Apprentice
Joined: 06 Nov 2001 Posts: 39
|
Every time you make a client connection, it is associated with a channel process. So at any time if you 10 connections to the queue manager using the same channel, there would be 10 active channel processes. You could list the active channel processes using display chstatus MQSC command.
In you testing, the applications may not be properly closing the connections. That way the channel processes remain active. |
|
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
|
|
|
|