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 Java / JMS » Max Channel Count keeps on increasing

Post new topic  Reply to topic Goto page Previous  1, 2
 Max Channel Count keeps on increasing « View previous topic :: View next topic » 
Author Message
swatkats
PostPosted: Thu May 27, 2010 2:20 am    Post subject: Reply with quote

Novice

Joined: 22 May 2010
Posts: 22

Quote:
Try to find out what those connections are actually doing. Not merely that they are connections. Use DISPLAY CONN.


I tried it and i could find the CONNOPTS(MQCNO_SHARED_BINDING) IBM help says
"This parameter can be passed to MQConnectionFactory.setMQConnectionOptions(int) to indicate that the application and the local queue manager agent must run in separate units of execution, with some resources shared between the application and the local queue manager agent"

CONNOPTS is the attribute i should be looking for or any other attribute?
Back to top
View user's profile Send private message
swatkats
PostPosted: Thu May 27, 2010 2:50 am    Post subject: Reply with quote

Novice

Joined: 22 May 2010
Posts: 22

Adding to the last post below,

For some connections i can see

OPENOPTS(MQOO_INQUIRE) HSTATE(INACTIVE)

when HSTATE is inactive IBM help says "No API call from a connection is currently in progress for this object. For a queue, this condition can arise when no MQGET WAIT call is in progress."

Am no MQ programmer any
Back to top
View user's profile Send private message
mvic
PostPosted: Thu May 27, 2010 5:36 am    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

swatkats wrote:
CONNOPTS is the attribute i should be looking for or any other attribute?

Connopts probably won't tell you much.

Have you run DISPLAY CHSTATUS and DISPLAY QSTATUS to see what data can be compared with the outputs in DISPLAY CONN.. experiment a bit, see what you can find that might say something about the apps.. what queues they have open, for example.
Back to top
View user's profile Send private message
RNStanich
PostPosted: Wed Jun 09, 2010 4:24 am    Post subject: Reply with quote

Acolyte

Joined: 23 Apr 2002
Posts: 64

FWIW our developers created an MQ framework to be used by all MQ integrations. When it was modified to use the connection factory we noticed that each "MQGET" spawned 3 connnections; two went inactive, the third active on the queue. The developer eventually cleaned the two inactive ones by explicitly closing them.

In the interim we used the ClientIdle registry key set at 5 minutes to clean up any inactive connections...http://www-01.ibm.com/support/docview.wss?rs=171&context=SSFKSJ&dc=DB560&dc=DB520&uid=swg21376219&loc=en_US&cs=UTF-8&lang=en&rss=ct171websphere

As I said, FWIW...
_________________
Regards, Bob
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » IBM MQ Java / JMS » Max Channel Count keeps on increasing
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.