Author |
Message
|
Reeti |
Posted: Mon Sep 15, 2003 10:39 pm Post subject: maxdepth problem |
|
|
Apprentice
Joined: 11 Jul 2002 Posts: 40
|
hi,
sometimes I'm noticing a peculiar problem in the MQ setup that I've. Attimes the curdepth of the queue is more that the maxdepth. What can be the reason?
thanks
Reeti |
|
Back to top |
|
 |
mqonnet |
Posted: Tue Sep 16, 2003 5:11 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
What platform. What level of MQ.
I would think that there are at least 2 possibilities here. But i am not 100% sure if this would really be then case, you could test it out though. Or provide more info.
1) You could have expired messages that have NOT been removed. And they count towards the curdepth. But i believe that curdepth in this case cannot go beyond maxdepth.
2) You have uncommitted messages. I believe that in this case you can go beyond maxdepth. But not sure.
Of course, the last option is that there could be a bug in your version of MQ which has been fixed in the later CSD's or releases.
Hope this helps.
Cheers
Kumar |
|
Back to top |
|
 |
Reeti |
Posted: Tue Sep 16, 2003 11:16 am Post subject: |
|
|
Apprentice
Joined: 11 Jul 2002 Posts: 40
|
I'm using Mq 5.3 and CSD04 has already been installed. I don't think that uncomitted messages are in the queue though that might be the case, I need to check that out.
But I've noticed this situation after I've installed the CSD.
Can u throw some light on it?
Thanks
Reeti |
|
Back to top |
|
 |
PeterPotkay |
Posted: Tue Sep 16, 2003 4:37 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Please go to the QM that hosts the problem queue and do a DISPLAY QLOCAL(yourqname) ALL. Post the output of that command.
Max depth should always be equal to or higher than queue depth, regardless of expired messages or uncommited messages. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
Tibor |
Posted: Wed Sep 17, 2003 2:17 pm Post subject: Re: maxdepth problem |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
Reeti wrote: |
sometimes I'm noticing a peculiar problem in the MQ setup that I've. Attimes the curdepth of the queue is more that the maxdepth. What can be the reason? |
AFAIK, when more processes are using a queue this is possible. Look a transmit queue with an application and a channel (MCA) connection under syncpoint control. In this case curdepth may be calculated incorrectly between two commit. My example coming from real-life, I saw similar more times.
So this is not neccessary a bug...
Tibor |
|
Back to top |
|
 |
Reeti |
Posted: Wed Sep 17, 2003 9:58 pm Post subject: |
|
|
Apprentice
Joined: 11 Jul 2002 Posts: 40
|
Hi:
I think u r right, this is happening when multiple processes are open on the same queue.
Following is the output of the display on the local queue.
runmqsc SKYTECH
5724-B41 (C) Copyright IBM Corp. 1994, 2002. ALL RIGHTS RESERVED.
Starting MQSC for queue manager SKYTECH.
dis ql(lq.ciims.event)
1 : dis ql(lq.ciims.event)
AMQ8409: Display Queue details.
DESCR(CIIMS Local Queue for Event Log)
PROCESS(PROCESS.LQ.CIIMS.EVENT) BOQNAME( )
INITQ( ) TRIGDATA( )
CLUSTER( ) CLUSNL( )
QUEUE(LQ.CIIMS.EVENT) CRDATE(2003-09-01)
CRTIME(17.58.36) ALTDATE(2003-09-17)
ALTTIME(19.49.09) GET(ENABLED)
PUT(ENABLED) DEFPRTY(0)
DEFPSIST(YES) MAXDEPTH(100000)
MAXMSGL(4194304) BOTHRESH(0)
SHARE DEFSOPT(SHARED)
HARDENBO MSGDLVSQ(PRIORITY)
RETINTVL(999999999) USAGE(NORMAL)
TRIGGER TRIGTYPE(EVERY)
TRIGDPTH(1) TRIGMPRI(0)
QDEPTHHI(80) QDEPTHLO(20)
QDPMAXEV(DISABLED) QDPHIEV(DISABLED)
QDPLOEV(ENABLED) QSVCINT(10000)
QSVCIEV(OK) DISTL(NO)
DEFTYPE(PREDEFINED) TYPE(QLOCAL)
SCOPE(QMGR) DEFBIND(OPEN)
IPPROCS(2) OPPROCS(2)
CURDEPTH(100002)
Thanks
Reeti |
|
Back to top |
|
 |
PeterPotkay |
Posted: Thu Sep 18, 2003 4:37 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
So what happens when those 2 messages get committed? Do they then get an error about the queue being full when the message is attempted to be commited? Or does the queue in fact hold 100002 messages?
Reeti, what happens to the depth when you end your apps (IPROCS and OPROCS counts are both zero)? _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
|