Author |
Message
|
mqmike |
Posted: Tue Jan 18, 2005 3:42 am Post subject: Maxhands / Maxhandles |
|
|
Acolyte
Joined: 09 Jul 2004 Posts: 63
|
This is an e-mail I received from a developer:
Can you check something for me? We’ve had an error message twice, once today and the other a couple of weeks back. It’s saying that our MQ component has run out of handles, 50? There was a problem with this about a year or so ago, it was resolved though.
We are running MQv5.2. The only thing that I can think of to check is the MaxHands parameter (I guess this is the same as maxhandles?). This is currently set to 256 - is this default for v5.2?
Is there anything else I could check or anything I'm missing? |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Jan 18, 2005 6:57 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
What you're missing is that they are asking you to fix their problem.
They likely have a bug in their code that is causing it to open connections and then never close them again. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
hdjur |
Posted: Fri Nov 17, 2006 12:36 pm Post subject: |
|
|
Centurion
Joined: 16 Sep 2004 Posts: 116 Location: Zagreb
|
Jeff, what would you say can cause such a behaviour. When dspmq is issued it blocks and does not display anything, when runmqsc is issued with any of local qmgrs given as argument, it just displays:
5724-B41 (C) Copyright IBM Corp. 1994, 2002. ALL RIGHTS RESERVED.
Starting MQSC for queue manager QMP.
But on entering any command, it blocks without displaying a result.
I think it can connect to a qmgr, but some other limit is probably exceeded which prevents it to obtain object handles?
At the same time, applications holding connections and opened queues work O.K., new ones block (they do not fail with some mqrc). |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Nov 17, 2006 12:39 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Start a new thread.
Don't assume that any particular person will answer you. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
hdjur |
Posted: Fri Nov 17, 2006 12:39 pm Post subject: |
|
|
Centurion
Joined: 16 Sep 2004 Posts: 116 Location: Zagreb
|
And /var/mqm/errors and /var/mqm/qmgrs/QMP/errors does not have any usefull information about the cause of this behaviour. |
|
Back to top |
|
 |
bruce2359 |
Posted: Sat Nov 18, 2006 9:32 am Post subject: |
|
|
Guest
|
A Connection Handles is created when a program MQCONNects to a qmgr. An Object Handles is created when program MQOPENs an object.
Max handles is qmgr attribute. It is often used to limit (constrain) application program abuse of system resources.
One possibility is that 250 handles is not be adequate for your workload.
What error message did the application receive? Something about no handles available? |
|
Back to top |
|
 |
hdjur |
Posted: Sat Nov 18, 2006 12:13 pm Post subject: |
|
|
Centurion
Joined: 16 Sep 2004 Posts: 116 Location: Zagreb
|
Thanks Bruce, I had to start a new thread and your input is wellcome there. |
|
Back to top |
|
 |
|