Author |
Message
|
ggulati2 |
Posted: Tue Sep 25, 2007 3:00 am Post subject: Large q files |
|
|
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 |
|
 |
Vitor |
Posted: Tue Sep 25, 2007 3:02 am Post subject: |
|
|
 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 |
|
 |
ggulati2 |
Posted: Tue Sep 25, 2007 3:03 am Post subject: |
|
|
Apprentice
Joined: 08 May 2006 Posts: 36
|
No..CURDEPTH of all related queues is 0. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Sep 25, 2007 3:06 am Post subject: |
|
|
 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 |
|
 |
ggulati2 |
Posted: Tue Sep 25, 2007 3:10 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Tue Sep 25, 2007 3:17 am Post subject: |
|
|
 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 |
|
 |
ggulati2 |
Posted: Tue Sep 25, 2007 3:27 am Post subject: |
|
|
Apprentice
Joined: 08 May 2006 Posts: 36
|
Platform is AIX
MQ version is 6.0.1.1 |
|
Back to top |
|
 |
Vitor |
Posted: Tue Sep 25, 2007 3:30 am Post subject: |
|
|
 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 |
|
 |
ggulati2 |
Posted: Tue Sep 25, 2007 3:39 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Tue Sep 25, 2007 3:41 am Post subject: |
|
|
 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 |
|
 |
bbburson |
Posted: Tue Sep 25, 2007 5:37 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Tue Sep 25, 2007 6:07 am Post subject: |
|
|
 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 |
|
 |
Nigelg |
Posted: Tue Sep 25, 2007 6:44 pm Post subject: |
|
|
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 |
|
 |
|