There is NO reason to monitor queue sizes. The queue files (e.g., AIX platform is /var/mqm/qmgrs/<QmgrName>/queues/*) DYNAMICALLY change in size based on usage or when a queue manager is restarted or if previously active queues have been idle for some time. What you mean to say is "you want to monitor the size of the file system where the queues for the queue manager in question reside. I believe under V5.1 and below, queue sizes could grow to 320MBs, V5.2 this changed to 2GBs and V5.3 its now 2TBs (for UNIX systems). For V5.1 systems, in the TuningParameters section of the mq.ini file, if you specify the keyword 'DefaultQFileSize' and set it to 1GB (DefaultQFileSize=1000000000), then bounce the queue manager, any NEW queues created will now grow up to this size.
If a "Queue Full" condition is encountered, check messages that go to your DLQ for a reason code of 2053 (MQRC_Q_FULL or Hexadecimal number 0805 - how the RC is stored in the DLQ header). Now tailor your DLQ Rules Table appropriately for the action you want your DLQ utility (e.g., runmqdlq) to take when this type of error condition is encountered. REASON(MQRC_Q_FULL) ACTION(FWD) FEWQ(OverFlowQueue) runmqdlq < MyRulesTable.txt A 2053 reason code is normally associated with "maximum number of messages reached". I have never seen a condition where the queue size was at capacity. If somebody has seen this condition and it was registered within the AMQERR01.LOG file, please respond back as to what the AMQxxxx number issue. I'm sure I would not be the only one interested in this error. We do manage messages UP TO 85MBs in size, so if the application reading this queue becomes hung, it won't take but a few hundred messages before this condition becomes reality. Also check your SYSTEM.ADMIN.PERFM.EVENT queue, because when queue full conditions are encountered, an event message will be put to this queue by the queue manager that detected this condition. If you have enabled PERFORMANCE EVENTS and are monitoring this queue, then you should be able to catch this condition when it occurs, and alert your staff. Stephan C. Moen -----Original Message----- From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of Christopher D. Fryett Sent: Thursday, April 03, 2003 10:05 AM To: [EMAIL PROTECTED] Subject: Re: How to Monitor queue size full If I recall correctly there is no event triggers for queue size, just depth. If you are coming across an issue of queue size you may want to look at your design again and validate you can support the message sizes for the queue definitions you have. You may also need to review the method in how you put and get information on the queues. Unless there is a specific reason to leave the messages on the queues, you may want to figure out (if it is an issue) why they are not being pulled from the queue ASAP. Chris -----Original Message----- From: MQSeries List [mailto:[EMAIL PROTECTED] On Behalf Of Jiede J Yang Sent: Thursday, April 03, 2003 9:06 AM To: [EMAIL PROTECTED] Subject: Re: How to Monitor queue size full Look into the Event Monitor book in the MQ Info Center, you can rely on soultino from there.... Thanks. Email: [EMAIL PROTECTED] mqm mqm <[EMAIL PROTECTED] To: [EMAIL PROTECTED] O.UK> cc: Sent by: MQSeries Subject: Re: How to Monitor queue size full List <[EMAIL PROTECTED] N.AC.AT> 04/03/2003 09:48 AM Please respond to MQSeries List There's a number of tools that monitor system resource usage or alert when thresholds are reached e.g. BMC Patrol, Tivoli. Any particular platform ? mqm --- "Mittal, Gaurav" <[EMAIL PROTECTED]> wrote: > We have queues defined to have a maximum depth of > 6,40,000 messages and a > max size of 2GB.I know we can monitor the queue > depths using 'High Depth > Event' .Is there a way by which we can monitor the > queue size (in terms of > file size not number of messages) also. > Any pointers would be useful.. > > Thanks n Regds > Gaurav > > Instructions for managing your mailing list > subscription are provided in > the Listserv General Users Guide available at > http://www.lsoft.com > Archive: http://vm.akh-wien.ac.at/MQSeries.archive __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive ___________________________________________________________________ This message was content-scanned by GatewayDefender 4/3/2003 - 11:20:56 AM - [EMAIL PROTECTED] - BA024da6a0.00000001.mml Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive