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 » [URGENT] queue files

Post new topic  Reply to topic
 [URGENT] queue files « View previous topic :: View next topic » 
Author Message
starfish77
PostPosted: Thu Dec 11, 2003 10:31 am    Post subject: [URGENT] queue files Reply with quote

Apprentice

Joined: 07 Nov 2003
Posts: 31
Location: USA

I am using MQ5.3 on AIX. As per my understanding, the actual messages in queue are stored under

[b] /var/mqm/qmgrs/<QM_NAME>/queues/<Q_NAME> [/b]

and the file name is q.

My question is when I do MQGET for all the messages, why my data file size is still same as before? Doesn't it delete the messages from this file. This file size never reduces. The actual queue depth and queue data file size are not in sych. Is it supposed to be like this????

Any comments are greatly appreciated..
Back to top
View user's profile Send private message
bower5932
PostPosted: Thu Dec 11, 2003 11:28 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

The size of the file shrinks and grows as MQSeries sees fit. I've never seen it shrink instantly with an MQGET. I wouldn't worry about it.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
mrlinux
PostPosted: Thu Dec 11, 2003 5:33 pm    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Unless they have made changes lately it will only shrink after qmgr restart.
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
starfish77
PostPosted: Fri Dec 12, 2003 6:47 am    Post subject: Reply with quote

Apprentice

Joined: 07 Nov 2003
Posts: 31
Location: USA

You are right bower5932. It did shrink after a while.
Back to top
View user's profile Send private message
mrlinux
PostPosted: Fri Dec 12, 2003 9:10 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Well thats good to know they finally did change it where it will shrink with out a restart.
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
Leafar
PostPosted: Fri Dec 12, 2003 10:37 am    Post subject: Reply with quote

Acolyte

Joined: 03 Apr 2003
Posts: 74
Location: Buenos Aires

If you want a shrink instantly you must try "Clear qlocal(name)" from the
runmqsc command line

Saludos
RAfael
Back to top
View user's profile Send private message MSN Messenger
JasonE
PostPosted: Mon Dec 15, 2003 9:09 am    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

I think you will find queue files will only shrink when they get cleared or when they are unloaded, and that can be at restart time, or after a certain period of inactivity. Dont forget the fact they havent shrunk for an active queue isnt a problem as the space gets reused for messages, and free space kept track of.
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 Discussion » [URGENT] queue 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.