Posted: Mon Dec 06, 2004 7:52 am Post subject: Maxhandle resource question
Apprentice
Joined: 11 Jul 2003 Posts: 42 Location: Chicago
I've a technical question about MQ's MAXHANDLE-parm. Our current number is 8192 and we are experiencing problems during begin of quarterly work. The maxnumber of handles is reached and the application abends.
We have an online CICS transaction that will generate about 3900 (or more) MQ messages so we think that explains why the limit is reached.
We plan to extend the MAXHANDLE parm, but we have some questions:
1) What are the resource/performance "costs" of increasing the Maxhandle parm?
2) Are these "costs" static (when MQ starts) or dynamic (when the number of handles is growing)?
3) Is there more detailed technical info about the use of handles and how we can monitor the use of them?
Thanks _________________ Peter Smit
LaSalle Bank Corporation, member of ABN AMRO NV Group
The number of messages has nothing to do with the max handle parameter. In fact all your messages can be handled with one handle to the qmgr.
What you need to check is application design. If your app is multithreading the 3,000 some msgs and creating connections left and right AND ESPECIALLY not closing connections correctly you will get a max channels (clt connections), max handle(bindings) or any other series of problems.
I think you have way enough handles. On Unix boxes the default is 255 !
What you should look into is how your apps release the resource
a) in case of success
b) especially in case of an exception being raised.
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