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 » Physical size of the queue not reducing

Post new topic  Reply to topic
 Physical size of the queue not reducing « View previous topic :: View next topic » 
Author Message
nlpappu
PostPosted: Sun Nov 21, 2004 10:30 pm    Post subject: Physical size of the queue not reducing Reply with quote

Newbie

Joined: 21 Nov 2004
Posts: 1

We have a application running on Websphere 5.1 Appserver Network deploymnet. This comes with a separate JMS server and uses embedded Websphere MQ. The application puts the messages on the Queue and there is an MDB which gets (not browses) the messages.
As I understand the physical Queue should fillup when messages are put on the queue and should reduce in size when messages are picked up (in this case by MDB). But , for some reason queue size is not reducing even if all the messages are picked up by MDB. Size has reached nearly 1.8 GB now.
1) I would like to know if there are any situations when physical size will not reduce even if the messages are picked up
2) Can we manually purge this file somehow?

Thanks
Back to top
View user's profile Send private message
Nigelg
PostPosted: Mon Nov 22, 2004 12:51 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

It is normal WMQ behaviour for a queue file to increase in size when
messages are put onto the queue.
The queue file will reduce in size:
when the qmgr is ended.
when the queue has not contained any messages at two consecutive
checkpoints and is not held open by any process.
The 1.8Gb must represent the highwater mark, i.e. at some time the total size of the msgs on the queue (plus the msg overhead) must have been 1.8Gb.

No, you cannot purge the file, except by ending the qmgr.
Back to top
View user's profile Send private message
bower5932
PostPosted: Mon Nov 22, 2004 7:44 am    Post subject: Reply with quote

Jedi Knight

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

For what it is worth, a tip was posted on the listserver about reducing the file size:

Quote:
Issue a clear queue command on the empty queue, but the queue cannot be opened elsewhere.


I can't say that I've tried it myself, but at least one appender here did and said it worked.

This isn't documented anywhere, so there are no guarantees that this will always work.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
PeterPotkay
PostPosted: Mon Nov 22, 2004 7:54 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

I did try it and it did work on a WIndows XP 5.3.0.8 machine.
_________________
Peter Potkay
Keep Calm and MQ On
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 » Physical size of the queue not reducing
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.