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 Discussion » AIX MQ Filesystem Sizes

Post new topic  Reply to topic Goto page Previous  1, 2
 AIX MQ Filesystem Sizes « View previous topic :: View next topic » 
Author Message
tkane
PostPosted: Fri May 21, 2004 12:55 pm    Post subject: Reply with quote

Voyager

Joined: 23 Dec 2002
Posts: 82
Location: Kansas City

This is a very confusing message thread. At first it sounds like you were talking about filesystem space under /var/mqm/qmgrs and now it sounds like under /var/mqm/log

Is it possible that you are using linear logging?

In /var/mqm/qmgrs/{QMNAME}/qm.ini there is a LogType= parameter that will show you how you defined your logs.

I don't run linear logging so I'm not very familliar with the tools (there is a supportpac) to manage those logs.

Good Luck
Tom
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat May 22, 2004 9:54 pm    Post subject: Reply with quote

Grand High Poobah

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

stop all channels on the Queue manager
run
Quote:
Code:
rcdmqimg -l -m <qmgrname case sensitive> -t all \*
assuming that you run unix. In window you might omit the
Quote:
\

Then Recycle your queue manager (stop) (start) it will flush the buffers to the file system and aknowledge new restart recovery points
In qmgrs/<qmgr>/errors check out the file with the latest date time.
read the last few entries
1 says file # to start the queue manager. ex 22
1 says file # to do media recovery. ex 21
You can now archive all files preceding the lowest of the 2 numbers (ex 0-20)
Restart all your channels

Make sure you have enough log space to create the image.
I would keep gmgr, log space, log archive space on different volumes.

Check out pack M?0L for automatic log archiving utility. I am using the java version on MQ 5.3 csd06 and it works fine (aix ibm java 1.3.1 and Solaris java 1.4.1)

Read the manual on backup and recovery (red book)

Hope this helps
F.J.
Back to top
View user's profile Send private message Send e-mail
PeterPotkay
PostPosted: Tue Jul 13, 2004 10:18 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

http://www-1.ibm.com/support/docview.wss?rs=171&context=SSFKSJ&uid=swg21173356&loc=en_US&cs=utf-8&lang=en

Not good news, but official news nonetheless.

Quote:

It is expensive to reserve disk space for a queue. As a result, and for performance reasons, WMQ v5.3 queue managers are slow to release disk space. Only after a queue is empty, and has not been opened by an application for several checkpoints, will the Q_Manager release the disk space.

_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Tibor
PostPosted: Wed Jul 14, 2004 3:57 am    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

Quote:
Not good news, but official news nonetheless.

It depends on. If you prefer the performance of messaging (and who doesn't?) this behavior seems good

There is an old topic, but shows the difference:

http://www.mqseries.net/phpBB2/viewtopic.php?t=568&

Tibor
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Mon Jul 11, 2005 6:32 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Found something interesting today. This was on Windows. MQ 5.3.0.8.


Load up a queue with 200,000 Persistent messages. Each 100K in length. Queue File is 20GB. Issue Clear Q command. Q file drops to 1K.

Load up a queue with 200,000 Persistent messages. Each 100K in length. Queue File is 20GB. Destructivly MQGET all the messages till the queue is empty. Queue file is still 20GB. Issuing Clear Q against the empty q does nothing, still 20 GB

Add 1 message to that empty queue with a 20GB file size, and then issue the clear queue command against that one little message, and it shrinks the queue file down to 1K!
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
sebastianhirt
PostPosted: Mon Jul 11, 2005 6:57 am    Post subject: Reply with quote

Yatiri

Joined: 07 Jun 2004
Posts: 620
Location: Germany

Interesting feature, in deed

So in other words, only clearing a queue will make it 'empty'... And Clearing would only help if a message is in the queue...
But does that also mean that unless you clear a queue, you would be theoreticaly able to extract data from a queue file even if the messages were gotten already?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Jul 11, 2005 7:04 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

sebastianhirt wrote:
But does that also mean that unless you clear a queue, you would be theoreticaly able to extract data from a queue file even if the messages were gotten already?


I'd think you'd have to know quite a lot about the internal structure of the queue file.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » General Discussion » AIX MQ Filesystem Sizes
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.