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 » MaxChannels experiment

Post new topic  Reply to topic
 MaxChannels experiment « View previous topic :: View next topic » 
Author Message
shogan2003
PostPosted: Thu Nov 16, 2006 3:58 am    Post subject: MaxChannels experiment Reply with quote

Centurion

Joined: 03 Jul 2003
Posts: 133
Location: London

Environment : WMQ6 on Windows XP

As an exercise,I am attempting to force queue manager to reject channel connections.
Have set MaxChannels & MaxActiveChannels to 3. Have stopped and restarted queue manager.
Have 5 channels running : 1 sender-receiver (sender side), 1 sender-receiver (receiver side),
3 separate server connection channels
The 3 server connection channels are kept open by amqsputc

I can't understand why the queue manager didn't reject the fourth (and fifth) channel connection

Thanks in advance
_________________
MQSI2 certified specialist
MQSeries certified specialist
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Thu Nov 16, 2006 4:07 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Quote:
The 3 server connection channels are kept open by amqsputc
So you are running amqsputc in debug mode to keep the channel open? Otherwise they will just serialize their access to the resource and as it does not need to be long you will see it finish before the timeout...

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
bruce2359
PostPosted: Thu Nov 16, 2006 2:35 pm    Post subject: Reply with quote

Guest




On the client end, are you specifying different SVRCONN channel names for each amqsputc instance (mqserver=)?

If so, each mqserver= creates an instance of a SVRCONN channel on the qmgr.

If you specify the same channel name on each mqserver= at the client, the one instance of the SVRCONN at the qmgr will service all amqsput client instances.
Back to top
shogan2003
PostPosted: Sat Nov 18, 2006 1:27 am    Post subject: Reply with quote

Centurion

Joined: 03 Jul 2003
Posts: 133
Location: London

Yes, I am specifying a separate channel in each command window SET MQSERVER definition
_________________
MQSI2 certified specialist
MQSeries certified specialist
Back to top
View user's profile Send private message Send e-mail
wschutz
PostPosted: Sat Nov 18, 2006 4:29 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Works as advertised for me:
Quote:
----- amqrccca.c : 777 --------------------------------------------------------
11/18/2006 07:27:09 AM - Process(13318.9) User(wschutz) Program(amqrmppa)
AMQ9573: Maximum number of active channels reached.

EXPLANATION:
There are too many channels active to start another. The current defined
maximum number of active channels is 3.
ACTION:
Either wait for some of the operating channels to close or use the stop channel
command to close some channels. Retry the operation when some channels are
available. The maximum number of active channels is a configurable parameter in
the queue manager configuration file.
----- amqrcsia.c : 1214 -----------------------

Name: WebSphere MQ
Version: 6.0.2.0

On linux (of course) ... what FP/RP are you running?
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
shogan2003
PostPosted: Mon Nov 20, 2006 2:11 am    Post subject: Reply with quote

Centurion

Joined: 03 Jul 2003
Posts: 133
Location: London

Dear WSchutz

Thanks for taking the trouble.

For your information :

Name: WebSphere MQ
Version: 6.0.0.0
CMVC level: p000-L050519
BuildType: IKAP - (Production)

I'm so embarrassed about this. I even created copies of amqsputc and labelled them amqsputc1, amqsputc2. for each one I opened up a separate command window and set MQSERVER=<channel>/tcp/localhost(port)

The port number is the same in each case, though that shouldn't make a difference.

I'll give it another shot and may even resort to using my own simple Java-MQ adapter hacked from sample code.
_________________
MQSI2 certified specialist
MQSeries certified specialist
Back to top
View user's profile Send private message Send e-mail
nathanw
PostPosted: Mon Nov 20, 2006 2:20 am    Post subject: Reply with quote

Knight

Joined: 14 Jul 2004
Posts: 550

not sure but do server connection channels count as part of teh max number of channels allowed?
_________________
Who is General Failure and why is he reading my hard drive?

Artificial Intelligence stands no chance against Natural Stupidity.

Only the User Trace Speaks The Truth
Back to top
View user's profile Send private message MSN Messenger
wschutz
PostPosted: Mon Nov 20, 2006 3:49 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

nathanw wrote:
not sure but do server connection channels count as part of teh max number of channels allowed?
Yes they do.

I used MQSERVER and copies of amqsputc, there is no need to re-name them.

I strongly suggest putting refresh pack 2 on MQ ....
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
nathanw
PostPosted: Mon Nov 20, 2006 4:22 am    Post subject: Reply with quote

Knight

Joined: 14 Jul 2004
Posts: 550

Well it is either a problem on teh install OR the stanza change has not been affected.
_________________
Who is General Failure and why is he reading my hard drive?

Artificial Intelligence stands no chance against Natural Stupidity.

Only the User Trace Speaks The Truth
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MaxChannels experiment
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.