Author |
Message
|
ste |
Posted: Wed Jun 23, 2004 12:23 am Post subject: QManager/Channel connections limit? |
|
|
Newbie
Joined: 27 May 2004 Posts: 5
|
Hi,
I'm developing a client application with MQSeries version 5.3 for Windows. I'm using the IMQI API for C++.
I have several threads, each of them use its own set of ImqQueueManager and ImqChannel instances. I'm not sharing any handle between threads.
I've noticied that 100 threads are able to connect successfully to the Queue Manager, using the same channel. The 101th connect fails with error code 2059.
Where do this 100 connection limit come from?
Is it possible to configure the QueueManager or Channel to behave differently?
Thanks in advance for any suggestion |
|
Back to top |
|
 |
oz1ccg |
Posted: Wed Jun 23, 2004 12:54 am Post subject: |
|
|
 Yatiri
Joined: 10 Feb 2002 Posts: 628 Location: Denmark
|
|
Back to top |
|
 |
ste |
Posted: Wed Jun 23, 2004 1:02 am Post subject: |
|
|
Newbie
Joined: 27 May 2004 Posts: 5
|
Thanks for your response...
Anyway I've just find out that this limit is due to TCP/IP itself: on windows system the default maximun number of connection allowed toward one port is 100...
Bye |
|
Back to top |
|
 |
JasonE |
Posted: Wed Jun 23, 2004 6:17 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
Nope... I think you are talking about the tcp listener backlog, which is the maximum number of queued connections waiting for the server socket to accept them.
You 100 problem for connections is almost certainly maxchannels / maxactive channels. I have run 2000 clients to my queue manager on windows... |
|
Back to top |
|
 |
MichaelR |
Posted: Wed Jun 23, 2004 6:17 am Post subject: |
|
|
Apprentice
Joined: 20 May 2002 Posts: 37 Location: Tampa
|
Ste,
The 100 max MQ connections is the default provided by IBM.
You can increase this setting via the MQServices MMC plug-in.
Right click on the specific QMgr and select "properties". The "Channels"
tab provides the mechanism for modifying the MaxChannels and
MaxActiveChannels values for a QMgr.
HTH...
MichaelR |
|
Back to top |
|
 |
|