Author |
Message
|
mqca |
Posted: Thu Jan 09, 2003 3:44 pm Post subject: Open handles of a Queue Manager |
|
|
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 |
|
 |
bower5932 |
Posted: Fri Jan 10, 2003 10:34 am Post subject: |
|
|
 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 |
|
 |
leongor |
Posted: Sun Jan 12, 2003 1:25 am Post subject: |
|
|
 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 |
|
 |
mqca |
Posted: Sun Jan 12, 2003 7:02 pm Post subject: |
|
|
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 |
|
 |
bower5932 |
Posted: Mon Jan 13, 2003 6:08 am Post subject: |
|
|
 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 |
|
 |
leongor |
Posted: Mon Jan 13, 2003 7:11 am Post subject: |
|
|
 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 |
|
 |
|