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 IBM MQ Support » maxchannelinstances

Post new topic  Reply to topic
 maxchannelinstances « View previous topic :: View next topic » 
Author Message
anan
PostPosted: Tue Mar 25, 2014 9:19 am    Post subject: maxchannelinstances Reply with quote

Novice

Joined: 24 Sep 2013
Posts: 11

Say 'x' is the current number of instances of a channel running in a Qmgr. Can x be stored as a curdepth of a queue ?

If yes, how to link the queue and the channel , so that x determines the current number of channel instances running.

MQ7 and Aix is the OS
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Mar 25, 2014 10:23 am    Post subject: Re: maxchannelinstances Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

anan wrote:
Say 'x' is the current number of instances of a channel running in a Qmgr. Can x be stored as a curdepth of a queue ?


If you mean "number of client channels", no and why would you want to?

anan wrote:
If yes, how to link the queue and the channel , so that x determines the current number of channel instances running.


If what you actually want is to have the same number of processing applications (which would all open client channels) running as there are messages currently on a queue then yes you can achieve this.

But you don't want to. Consider what would happen in your AIX machine if 5,000 messages are suddenly dropped onto the queue and 5,000 instances of the application (with 5,000 channel) suddenly opened. What would likely happen quite quickly?

Hint: the answer contains the words "out", "memory", "of", "crash", "server", "fired" & "you" but not in that order.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Tue Mar 25, 2014 2:55 pm    Post subject: Re: maxchannelinstances Reply with quote

Jedi Knight

Joined: 25 Mar 2003
Posts: 2538
Location: Melbourne, Australia

anan wrote:
Say 'x' is the current number of instances of a channel running in a Qmgr. Can x be stored as a curdepth of a queue ?
If yes, how to link the queue and the channel , so that x determines the current number of channel instances running.
MQ7 and Aix is the OS

This is a very strange suggestion. What is your design requirement? There is probably a way of meeting the requirement using normal MQ design patterns.
_________________
Glenn
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 IBM MQ Support » maxchannelinstances
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.