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 » Open handles of a Queue Manager

Post new topic  Reply to topic
 Open handles of a Queue Manager « View previous topic :: View next topic » 
Author Message
mqca
PostPosted: Thu Jan 09, 2003 3:44 pm    Post subject: Open handles of a Queue Manager Reply with quote

Newbie

Joined: 09 Jan 2003
Posts: 2

We have a MQSeries server 5.2 on Windows 2000. For the queue manager we set the default value of 256 for Maximum Open handles. We have three local queues created on that QManager. Using MQSeries explorer, I observed that the open input handles on these queues as 80, 120, 80 which totals to 280 open input handles.

I wonder how the open input handles can exceed the maximus open handles of a Q manager.

1) Please throw some light on the issue.
2) Is there any way I can find the un used handles and disconnet them from the server ? I suspect there are some bad client applications that donot close the connections and the queues.
Back to top
View user's profile Send private message
bower5932
PostPosted: Fri Jan 10, 2003 10:34 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

I believe the Qmgr handles refers to MQCONNs. The Queue handles refer to MQOPENs. You could connect to one Qmgr and then issue multiple queue opens.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
leongor
PostPosted: Sun Jan 12, 2003 1:25 am    Post subject: Reply with quote

Master

Joined: 13 May 2002
Posts: 264
Location: Israel

MaxHandles - Maximum number of handles.

Quote:

This is the maximum number of open handles that any one task can use concurrently. Each successful MQOPEN call for a single queue (or for an object that is not a queue) uses one handle. That handle becomes available for reuse when the object is closed. However, when a distribution list is opened, each queue in the distribution list is allocated a separate handle, and so that MQOPEN call uses as many handles as there are queues in the distribution list. This must be taken into account when deciding on a suitable value for MaxHandles.

_________________
Regards.
Leonid.

IBM Certified MQSeries Specialist.
Back to top
View user's profile Send private message
mqca
PostPosted: Sun Jan 12, 2003 7:02 pm    Post subject: Reply with quote

Newbie

Joined: 09 Jan 2003
Posts: 2

May be I am missing something in between. Since the maximum number of open input handles of all the queues can exceed the Max handles of a queue manager, is there any way we can determine the maximum value of open input handles of a queue that the client applications can open the queue ?
Back to top
View user's profile Send private message
bower5932
PostPosted: Mon Jan 13, 2003 6:08 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

I guess that I just learned something about maxhandles.

As far as why the number might be larger than you expect, my guess would be that you are running client programs that aren't MQCLOSEing and MQDISCing. Is this possible?
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
leongor
PostPosted: Mon Jan 13, 2003 7:11 am    Post subject: Reply with quote

Master

Joined: 13 May 2002
Posts: 264
Location: Israel

I think it only depends on your machine resources.
On Sun or HP you have kernel configuration for MQSeries.
I hope this helps.
_________________
Regards.
Leonid.

IBM Certified MQSeries Specialist.
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 » IBM MQ Installation/Configuration Support » Open handles of a Queue Manager
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.