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 » Large q files

Post new topic  Reply to topic
 Large q files « View previous topic :: View next topic » 
Author Message
ggulati2
PostPosted: Tue Sep 25, 2007 3:00 am    Post subject: Large q files Reply with quote

Apprentice

Joined: 08 May 2006
Posts: 36

One of the Queue Manager went down due to FS usage 100 %.I got the disk space increased and started the QMGR.

now,there are soem large "q" files under queues directory but there are NO messages on respective queues.

Could you please tell me how to reduce the size of those q files ?
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Sep 25, 2007 3:02 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Are there no messages on the queues, or no committed messages showing in the queue depth?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
ggulati2
PostPosted: Tue Sep 25, 2007 3:03 am    Post subject: Reply with quote

Apprentice

Joined: 08 May 2006
Posts: 36

No..CURDEPTH of all related queues is 0.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Sep 25, 2007 3:06 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

ggulati2 wrote:
No..CURDEPTH of all related queues is 0.


My question exactly.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
ggulati2
PostPosted: Tue Sep 25, 2007 3:10 am    Post subject: Reply with quote

Apprentice

Joined: 08 May 2006
Posts: 36

CURDEPTH it is showing is 0 for all messages and they all were non-persistant messages.Now I need to reduce the FS usage which is geeting used by respective "q" files of these queues.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Sep 25, 2007 3:17 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Ok, re-reading your post I may be talking rubbish anyway. The point I was making is that uncommitted messages don't always show on the queue depth, so you can in theory have a queue depth of 0 with 5000 messages on it.

But if the messages are non-persistant all bets are off anyway - they shouldn't have survived the crash of the queue manager when the file system filled!

What platform & level of MQ?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
ggulati2
PostPosted: Tue Sep 25, 2007 3:27 am    Post subject: Reply with quote

Apprentice

Joined: 08 May 2006
Posts: 36

Platform is AIX
MQ version is 6.0.1.1
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Sep 25, 2007 3:30 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Any unusual messages in the queue manager log, or at start up? It should just have bulldozed them flat....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
ggulati2
PostPosted: Tue Sep 25, 2007 3:39 am    Post subject: Reply with quote

Apprentice

Joined: 08 May 2006
Posts: 36

There are few entries in log file like :
1.Queue damaged
2.log records accessed on queue manager 'QMDTSSYS' during the log
replay phase.

3.The Queue Manager task 'STATISTICS' has started
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Sep 25, 2007 3:41 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

ggulati2 wrote:
There are few entries in log file like :
1.Queue damaged


That sounds like the cause of your woes. Check the affected queues for damage, repair if possible, delete & recreate if necessary
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bbburson
PostPosted: Tue Sep 25, 2007 5:37 am    Post subject: Reply with quote

Partisan

Joined: 06 Jan 2004
Posts: 378
Location: Nowhere near a queue manager

Vitor wrote:
. . . uncommitted messages don't always show on the queue depth, so you can in theory have a queue depth of 0 with 5000 messages on it.


Huh? From the MQSC reference manual:

Code:
CURDEPTH 
The  current  depth  of  the  queue,  that  is,  the  number  of  messages  on  the queue.  This  includes  both  committed  messages and  uncommitted messages.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Sep 25, 2007 6:07 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Not if the UOW is still in flight, you can't rely on it. Also if a channel is indoubt it's a bit funky. But in this case it wasn't a particulally likely scenario in hindsight.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Nigelg
PostPosted: Tue Sep 25, 2007 6:44 pm    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

Stop and restart the qmgr. Queue files are truncated at the checkpoint taken at qmgr shutdown.
_________________
MQSeries.net helps those who help themselves..
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 » Large q files
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.