ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » maxdepth problem

Post new topic  Reply to topic
 maxdepth problem « View previous topic :: View next topic » 
Author Message
Reeti
PostPosted: Mon Sep 15, 2003 10:39 pm    Post subject: maxdepth problem Reply with quote

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
View user's profile Send private message
mqonnet
PostPosted: Tue Sep 16, 2003 5:11 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Reeti
PostPosted: Tue Sep 16, 2003 11:16 am    Post subject: Reply with quote

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
View user's profile Send private message
PeterPotkay
PostPosted: Tue Sep 16, 2003 4:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
Tibor
PostPosted: Wed Sep 17, 2003 2:17 pm    Post subject: Re: maxdepth problem Reply with quote

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
View user's profile Send private message
Reeti
PostPosted: Wed Sep 17, 2003 9:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
PeterPotkay
PostPosted: Thu Sep 18, 2003 4:37 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » maxdepth problem
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.