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 » IBM MQ Installation/Configuration Support » Limit the number of Client Connections.

Post new topic  Reply to topic
 Limit the number of Client Connections. « View previous topic :: View next topic » 
Author Message
peterli
PostPosted: Sun Jun 30, 2002 2:35 pm    Post subject: Limit the number of Client Connections. Reply with quote

Apprentice

Joined: 17 Oct 2001
Posts: 29
Location: Melbourne, Australia

I was wondering if it is possible to limit the number of Client Connections?
Back to top
View user's profile Send private message Send e-mail
kolban
PostPosted: Sun Jun 30, 2002 6:54 pm    Post subject: Reply with quote

Grand Master

Joined: 22 May 2001
Posts: 1072
Location: Fort Worth, TX, USA

Most certainly. I think there is an MQSeries attribute called max connections. If that doesn't work, then a simple exit can be employed to allow/disallow new connections based on the number of current connections.
Back to top
View user's profile Send private message
nimconsult
PostPosted: Sun Jun 30, 2002 10:46 pm    Post subject: Reply with quote

Master

Joined: 22 May 2002
Posts: 268
Location: NIMCONSULT - Belgium

You can control the number of client connections is by changing the MaxChannels and MaxActiveChannels attributes.

On Windows NT you do that by opening the properties of the queue manager in the "MQ Series Services" snap-in. On other distributed platforms you have to edit the qm.ini file.

This attribute changes the total number of active channels (not only client connections).

I do not know a way of controlling the number of client connections specifically.
_________________
Nicolas Maréchal
Senior Architect - Partner

NIMCONSULT Software Architecture Services (Belgium)
http://www.nimconsult.be
Back to top
View user's profile Send private message Send e-mail Visit poster's website
glen
PostPosted: Mon Jul 01, 2002 4:06 am    Post subject: Reply with quote

Novice

Joined: 05 Jun 2002
Posts: 13
Location: Dublin, Ireland.

the default number of connections to a QM in NT is 100.

I had a need to increase this - (maxchannels, maxactivechannels)

in your case, you might want to change the maxinitiators too - default is 3:
Back to top
View user's profile Send private message
raman
PostPosted: Sat Jul 20, 2002 10:07 am    Post subject: AMQ9513: Maximum number of channels reached. Reply with quote

Novice

Joined: 15 May 2002
Posts: 13

Hi,
The following error is written to the Qmanager's error log file.
-------------------------------------------------------------------------------
AMQ9513: Maximum number of channels reached.

EXPLANATION:
The maximum number of channels that can be in use simultaneously has been
reached. The number of permitted channels is a configurable parameter in the
queue manager configuration file.
ACTION:
Wait for some of the operating channels to close. Retry the operation when some
channels are available.
-------------------------------------------------------------------------------
AMQ9999: Channel program ended abnormally.

EXPLANATION:
Channel program 'CLIENT.00.UTSLED03' ended abnormally.
ACTION:
Look at previous error messages for channel program 'CLIENT.00.UTSLED03' in the
error files to determine the cause of the failure.
-------------------------------------------------------------------------------
I have created one Server Connection channel. I have also created one Client Connection and copied the client channel table to my client machine. Do I have to create more channels to avoid getting this error? Can I use maxChannels and maxActiveChannels attributes? If I have only one server connection channel, can I change the values of these attributes? I don't have any idea what these attributes are used for. Any help is greatly appreciated.

Thanks in advance.

raman.
Back to top
View user's profile Send private message
glen
PostPosted: Mon Jul 22, 2002 12:35 am    Post subject: Reply with quote

Novice

Joined: 05 Jun 2002
Posts: 13
Location: Dublin, Ireland.

You don't need to change the properties of the server connection channel, you need to alter the queue manager attributes from the MQ Services MMC snapin.

The figure you choose for maxchannels depends on the number of active connections on each queue manager, not the actual number of queues.
Increase the maxchannels parameter to allow more channels in the same QM to open.
I found that increasing the maxactivechannels allowed my (non IBM) middleware to decrease initiation speed across my queues when activating them simultaneously.
Back to top
View user's profile Send private message
oz1ccg
PostPosted: Mon Jul 22, 2002 3:44 am    Post subject: Reply with quote

Yatiri

Joined: 10 Feb 2002
Posts: 628
Location: Denmark

Hmm,

Doesn't this look like the cause of problem could be in the client applications, it seems like they don't close the connection (especially when JAVA). Right ?

Well I know it might be a bit off topic, but I remeber we've discussed that before, try a search here on that.

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
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Limit the number of Client Connections.
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.