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 » General IBM MQ Support » Curdepth mystery

Post new topic  Reply to topic
 Curdepth mystery « View previous topic :: View next topic » 
Author Message
WBI_user
PostPosted: Mon Aug 25, 2008 5:26 am    Post subject: Curdepth mystery Reply with quote

Partisan

Joined: 07 Aug 2001
Posts: 386

We are running MQ Version: 6.0.2.1 on AIX.
An application support has complained to us that they are losing some messages. The MQ program is from 3rd party with no source code.
The observation is as follow:
The application runs at night and puts 34668 messages on a queue. But we only found 15631 messages in the morning. The only explanation we have for them is the message expired. But the vendor claimed that they do no put expiry time on the message.
We worked with the application support last night and check the queue form time to time using MQ Explorer. The entire application runs about 5 minutes. At curdepth 26129, the queue showed no application open for Input, no uncommitted messages. We then did a refresh and noticed the curdepth dropped to 18381. We then lat it runs to completion. The final queue depth was 15631.
I cannot think of any explanation other then message expiry. But I need to show some evidence.
Is there any queue statistics from standard WMQ V6 showing number of messages expired?
Any other suggestion or explanation for this? They said that they have message grouping in their application logic. Can this be related?
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Mon Aug 25, 2008 6:43 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

We had a similar 'hit' when a thrid party vendor was using MQ to file transfer. They were hitting the max queue depth and so the queue was showing uncommitted messages in the depth until the transfer failed and rolled back.

We 'fixed' it by increasing the maxdepth of the queue.
Back to top
View user's profile Send private message
WBI_user
PostPosted: Mon Aug 25, 2008 6:54 am    Post subject: Reply with quote

Partisan

Joined: 07 Aug 2001
Posts: 386

In our case, there is still lots of room in queue depth and queue status shows no uncommitted messages.
Back to top
View user's profile Send private message
jeevan
PostPosted: Mon Aug 25, 2008 8:58 am    Post subject: Re: Curdepth mystery Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

WBI_user wrote:
We are running MQ Version: 6.0.2.1 on AIX.
An application support has complained to us that they are losing some messages. The MQ program is from 3rd party with no source code.
The observation is as follow:
The application runs at night and puts 34668 messages on a queue. But we only found 15631 messages in the morning. The only explanation we have for them is the message expired. But the vendor claimed that they do no put expiry time on the message.
We worked with the application support last night and check the queue form time to time using MQ Explorer. The entire application runs about 5 minutes. At curdepth 26129, the queue showed no application open for Input, no uncommitted messages. We then did a refresh and noticed the curdepth dropped to 18381. We then lat it runs to completion. The final queue depth was 15631.
I cannot think of any explanation other then message expiry. But I need to show some evidence.
Is there any queue statistics from standard WMQ V6 showing number of messages expired?
Any other suggestion or explanation for this? They said that they have message grouping in their application logic. Can this be related?


You can use the queue stat sample java program to get enqueue and dequeue. is the two do not match, ( in fact including the current depth),

eg enqueue <> dequeue+curdepth, then message might have been expired.
Back to top
View user's profile Send private message
SAFraser
PostPosted: Mon Aug 25, 2008 10:53 am    Post subject: Reply with quote

Shaman

Joined: 22 Oct 2003
Posts: 742
Location: Austin, Texas, USA

Nothing in the queue manager log?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Aug 25, 2008 10:58 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

May be it is an application that is not keeping the queue open but reads the messages and as such does not show in ipprocs...
You could get inhibit the destination queue and providing there is a large enough log you should be fine.

Check the log for message rolled back on long running transaction..... (your log might not be large enough

Check the sender app's JNDI definition of the target queue to verify there is no expiry set.

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
SAFraser
PostPosted: Mon Aug 25, 2008 12:23 pm    Post subject: Reply with quote

Shaman

Joined: 22 Oct 2003
Posts: 742
Location: Austin, Texas, USA

Yes, I was thinking along the lines of circular logs being short of space, and possible rollbacks.
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 » General IBM MQ Support » Curdepth mystery
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.