Author |
Message
|
Pankaj |
Posted: Thu Apr 19, 2007 8:45 am Post subject: Max of SVRCONN MQI channel |
|
|
Newbie
Joined: 18 May 2004 Posts: 8 Location: India
|
Hi,
Can anybody guide me on how to check max no of possible SVRCONN connections configured?...we don't have any such parameter set in qm.ini/mqs.ini.
But still when web server starts sending messages, i am able to see multiple instances of JAVA.CHANNEL of type SVRCONN running and after some time web server connection to MQ goes down. And MQ log shows max no of channel reached.
Regards |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Apr 19, 2007 8:51 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
First, off.
The name "JAVA.CHANNEL" is entirely useless. Don't use it, don't allow your developers to use it.
Second off, MQ does not have a built in way to limit the number of connections on a particular channel.
If you search around, you'll find that there are solutions available. If it's a production system, you probably want to put in a solution that is adequately supported for production use. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
marcin.kasinski |
Posted: Thu Apr 19, 2007 8:51 am Post subject: Re: Max of SVRCONN MQI channel |
|
|
Sentinel
Joined: 21 Dec 2004 Posts: 850 Location: Poland / Warsaw
|
You should search for MaxActiveChannels parameter in ini file to see max active channels. _________________ Marcin |
|
Back to top |
|
 |
marcin.kasinski |
Posted: Thu Apr 19, 2007 8:57 am Post subject: |
|
|
Sentinel
Joined: 21 Dec 2004 Posts: 850 Location: Poland / Warsaw
|
jefflowrey wrote: |
Second off, MQ does not have a built in way to limit the number of connections on a particular channel.
|
If you need this functionality you can do it with security exit. _________________ Marcin |
|
Back to top |
|
 |
Pankaj |
Posted: Thu Apr 19, 2007 9:03 am Post subject: |
|
|
Newbie
Joined: 18 May 2004 Posts: 8 Location: India
|
we don't have any value set for MaxActiveChannels in ini file. Thats why i was interested to find out if MQ use any default no.
Jeff, JAVA.CHANNEL is created to identify and separate message traffic sent to MQ Queue Manager from particular application adapter. Can you pls clarify why we should avoid using it? |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Apr 19, 2007 9:15 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Becuase it should be named after the application adapter, not after a programming language. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
SAFraser |
Posted: Thu Apr 19, 2007 6:25 pm Post subject: |
|
|
 Shaman
Joined: 22 Oct 2003 Posts: 742 Location: Austin, Texas, USA
|
The limit on the maximum number of channels applies to all channel connections to a queue manager (svrconn, senders, etc all combined).
The default is, I believe, 100. If you want to allow more connections in total, it must be added to the configuration of the queue manager. The method depends upon the operating system. I believe all platforms require the queue manager to be recycled for the new parameter to take effect. |
|
Back to top |
|
 |
Pankaj |
Posted: Fri Apr 20, 2007 2:30 am Post subject: |
|
|
Newbie
Joined: 18 May 2004 Posts: 8 Location: India
|
Thanks for confirming default limitation....thats the answer i was looking for...  |
|
Back to top |
|
 |
|