ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » QManager/Channel connections limit?

Post new topic  Reply to topic
 QManager/Channel connections limit? « View previous topic :: View next topic » 
Author Message
ste
PostPosted: Wed Jun 23, 2004 12:23 am    Post subject: QManager/Channel connections limit? Reply with quote

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
View user's profile Send private message
oz1ccg
PostPosted: Wed Jun 23, 2004 12:54 am    Post subject: Reply with quote

Yatiri

Joined: 10 Feb 2002
Posts: 628
Location: Denmark

I guess that you have reached the max channel limit

Take a look on this thread:
http://www.mqseries.net/phpBB2/viewtopic.php?t=16069

Just my $0.02
_________________
Regards, Jørgen
Home of BlockIP2, the last free MQ Security exit ver. 3.00
Cert. on WMQ, WBIMB, SWIFT.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
ste
PostPosted: Wed Jun 23, 2004 1:02 am    Post subject: Reply with quote

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
View user's profile Send private message
JasonE
PostPosted: Wed Jun 23, 2004 6:17 am    Post subject: Reply with quote

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
View user's profile Send private message
MichaelR
PostPosted: Wed Jun 23, 2004 6:17 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » QManager/Channel connections limit?
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.