|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Physical size of the queue not reducing |
« View previous topic :: View next topic » |
Author |
Message
|
nlpappu |
Posted: Sun Nov 21, 2004 10:30 pm Post subject: Physical size of the queue not reducing |
|
|
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 |
|
 |
Nigelg |
Posted: Mon Nov 22, 2004 12:51 am Post subject: |
|
|
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 |
|
 |
bower5932 |
Posted: Mon Nov 22, 2004 7:44 am Post subject: |
|
|
 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 |
|
 |
PeterPotkay |
Posted: Mon Nov 22, 2004 7:54 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|