Re: 'q' file resize

2004-11-16 Thread Robert Broderick
Roger,
If he was using LL would a rcdmqimg force the checkpoints??
  bb
From: Roger Lacroix <[EMAIL PROTECTED]>
Reply-To: MQSeries List <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: 'q' file resize
Date: Mon, 15 Nov 2004 15:50:15 -0500
Hi Jeff,
The 'q file' will be reduced when either 2 checkpoints have happened where
no
messages are written to the queue or if the q has a zero depth and you
bounce
the queue manager.
Regards,
Roger Lacroix
Capitalware Inc.
http://www.capitalware.biz
Quoting Jeff A Tressler <[EMAIL PROTECTED]>:
> We have a disk drive full and it is all due to two files. These are
> the 'q' files that store the actual messages. The queue depth
> has finally reached zero but these q files still are taking a
> lot of disk space.
>
> I beleive these file will be resized to a more appropriate size
> but dont know how often this occurs. Does anyone have
> any ideas?
>
> We are running Windows 2000, WebSphere MQ v5.3
>
> Instructions for managing your mailing list subscription are provided in
> the Listserv General Users Guide available at http://www.lsoft.com
> Archive: http://vm.akh-wien.ac.at/MQSeries.archive
>
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: 'q' file resize

2004-11-16 Thread Robert Broderick
This answered my previous question:
3) When we take a media image of the queue
  We compact a local queue prior to taking a media image.
   bobbee

From: Rick Tsujimoto <[EMAIL PROTECTED]>
Reply-To: MQSeries List <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: 'q' file resize
Date: Mon, 15 Nov 2004 16:05:56 -0500
Jeff,
Attached is a snippet of an old posting from Paul Clarke:
>The space will not get freed up until either a) you delete and redefine
the
>queue, or b) the QMGR is stopped and restarted.
This is not quite true, we do indeed release disk space at these times but
these aren't the only times...
The others are :-
1) At  a checkpoint
   If checkpoint sees the same queue empty multiple times and the queue is
using a significant amount of disk space then the queue is truncated.
2) When the queue is unloaded
   When a queue isn't open by any application (including internal MQ
'applications' e.g. MCA) then it is scheduled for unload. The queue will
be
unloaded the second time a checkpoint sees the queue scheduled for unload.
3) When we take a media image of the queue
  We compact a local queue prior to taking a media image.
I imagine the apparent arbitrary nature that was referred to in the
earlier
append is just the moment when the queue became unused or when a
checkpoint
was taken.

Jeff A Tressler <[EMAIL PROTECTED]>
Sent by: MQSeries List <[EMAIL PROTECTED]>
11/15/2004 03:13 PM
Please respond to
MQSeries List <[EMAIL PROTECTED]>
To
[EMAIL PROTECTED]
cc
Subject
'q' file resize


We have a disk drive full and it is all due to two files. These are
the 'q' files that store the actual messages. The queue depth
has finally reached zero but these q files still are taking a
lot of disk space.
I beleive these file will be resized to a more appropriate size
but dont know how often this occurs. Does anyone have
any ideas?
We are running Windows 2000, WebSphere MQ v5.3
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: 'q' file resize

2004-11-15 Thread Potkay, Peter M (ISD, IT)
!!!

An undocumented feature?


Create a local q called PETER.TEST.
File size is 2K.

Add 25000 1K messages to it.
File size is 37808 KB.

Destructively get all the messages, bringing the depth down to 0.
File size is still 37808 KB.

Issue Clear on the queue, even though it is empty.
File size is 2K.


Thanks Phil!

I wonder why no one from IBM mentioned this simple little trick.




-Original Message-
From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Monday, November 15, 2004 5:13 PM
To: [EMAIL PROTECTED]
Subject: Re: 'q' file resize


Try it your self and see.






  "Potkay, Peter M
  (ISD, IT)" To:
[EMAIL PROTECTED]
  <[EMAIL PROTECTED]cc:
  RTFORD.COM>        Subject:  Re: 'q' file
resize
  Sent by: MQSeries
  List
  <[EMAIL PROTECTED]
  ac.at>


  11/15/2004 03:45 PM
  Please respond to
  MQSeries List






His Q is already at zero, so I don't think the clear command will help.



http://www.mqseries.net/phpBB2/viewtopic.php?t=18537&highlight=queue+file
"The msgs have been removed from the msg chains so they are no longer
accessible, but they remain in the physical queue file until the file is
compressed. This happens at a checkpoint if nobody has the queue open and
it
has contained no msgs for the previous 2 checkpoints, or at qmgr shutdown."


-Original Message-
From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Monday, November 15, 2004 3:38 PM
To: [EMAIL PROTECTED]
Subject: Re: 'q' file resize


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






  Jeff A Tressler
  <[EMAIL PROTECTED]To:
[EMAIL PROTECTED]
  >        cc:
  Sent by: MQSeriesSubject:  'q' file resize
  List
  <[EMAIL PROTECTED]
  n.ac.at>


  11/15/2004 03:13
  PM
  Please respond to
  MQSeries List






We have a disk drive full and it is all due to two files. These are
the 'q' files that store the actual messages. The queue depth
has finally reached zero but these q files still are taking a
lot of disk space.

I beleive these file will be resized to a more appropriate size
but dont know how often this occurs. Does anyone have
any ideas?

We are running Windows 2000, WebSphere MQ v5.3

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


This communication, including attachments, is for the exclusive use of
addressee and may contain proprietary, confidential or privileged
information. If you are not the intended recipient, any use, copying,
disclosure, dissemination or distribution is strictly prohibited. If
you are not the intended recipient, please notify the sender
immediately by return email and delete this communication and destroy all
copies.

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


This communication, including attachments, is for the exclusive use of
addressee and may contain proprietary, confidential or privileged
information. If you are not the intended recipient, any use, copying,
disclosure, dissemination or distribution is strictly prohibited. If
you are not the intended recipient, please notify the sender
immediately by return email and delete this communication and destroy all 
copies.

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: 'q' file resize

2004-11-15 Thread philip . distefano
Try it your self and see.






  "Potkay, Peter M
  (ISD, IT)" To:   
[EMAIL PROTECTED]
  <[EMAIL PROTECTED]cc:
  RTFORD.COM>    Subject:  Re: 'q' file resize
  Sent by: MQSeries
  List
  <[EMAIL PROTECTED]
  ac.at>


  11/15/2004 03:45 PM
  Please respond to
  MQSeries List






His Q is already at zero, so I don't think the clear command will help.



http://www.mqseries.net/phpBB2/viewtopic.php?t=18537&highlight=queue+file
"The msgs have been removed from the msg chains so they are no longer
accessible, but they remain in the physical queue file until the file is
compressed. This happens at a checkpoint if nobody has the queue open and
it
has contained no msgs for the previous 2 checkpoints, or at qmgr shutdown."


-Original Message-
From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Monday, November 15, 2004 3:38 PM
To: [EMAIL PROTECTED]
Subject: Re: 'q' file resize


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






  Jeff A Tressler
  <[EMAIL PROTECTED]To:
[EMAIL PROTECTED]
  >        cc:
  Sent by: MQSeriesSubject:  'q' file resize
  List
  <[EMAIL PROTECTED]
  n.ac.at>


  11/15/2004 03:13
  PM
  Please respond to
  MQSeries List






We have a disk drive full and it is all due to two files. These are
the 'q' files that store the actual messages. The queue depth
has finally reached zero but these q files still are taking a
lot of disk space.

I beleive these file will be resized to a more appropriate size
but dont know how often this occurs. Does anyone have
any ideas?

We are running Windows 2000, WebSphere MQ v5.3

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


This communication, including attachments, is for the exclusive use of
addressee and may contain proprietary, confidential or privileged
information. If you are not the intended recipient, any use, copying,
disclosure, dissemination or distribution is strictly prohibited. If
you are not the intended recipient, please notify the sender
immediately by return email and delete this communication and destroy all
copies.

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: 'q' file resize

2004-11-15 Thread Rick Tsujimoto

Jeff,

Attached is a snippet of an old posting
from Paul Clarke:

>The space will not get freed up
until either a) you delete and redefine
the
>queue, or b) the QMGR is stopped
and restarted.

This is not quite true, we do indeed
release disk space at these times but
these aren't the only times...
The others are :-

1) At  a checkpoint
   If checkpoint sees the
same queue empty multiple times and the queue is
using a significant amount of disk space
then the queue is truncated.

2) When the queue is unloaded
   When a queue isn't open
by any application (including internal MQ
'applications' e.g. MCA) then it is
scheduled for unload. The queue will be
unloaded the second time a checkpoint
sees the queue scheduled for unload.

3) When we take a media image of the
queue
  We compact a local queue prior
to taking a media image.

I imagine the apparent arbitrary nature
that was referred to in the earlier
append is just the moment when the queue
became unused or when a checkpoint
was taken.






Jeff A Tressler <[EMAIL PROTECTED]>

Sent by: MQSeries List <[EMAIL PROTECTED]>
11/15/2004 03:13 PM



Please respond to
MQSeries List <[EMAIL PROTECTED]>





To
[EMAIL PROTECTED]


cc



Subject
'q' file resize








We have a disk drive full and it is all due to two
files. These are
the 'q' files that store the actual messages. The queue depth
has finally reached zero but these q files still are taking a
lot of disk space.

I beleive these file will be resized to a more appropriate size
but dont know how often this occurs. Does anyone have
any ideas?

We are running Windows 2000, WebSphere MQ v5.3

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive



Re: 'q' file resize

2004-11-15 Thread Roger Lacroix
Hi Jeff,

The 'q file' will be reduced when either 2 checkpoints have happened where no
messages are written to the queue or if the q has a zero depth and you bounce
the queue manager.

Regards,
Roger Lacroix
Capitalware Inc.
http://www.capitalware.biz


Quoting Jeff A Tressler <[EMAIL PROTECTED]>:

> We have a disk drive full and it is all due to two files. These are
> the 'q' files that store the actual messages. The queue depth
> has finally reached zero but these q files still are taking a
> lot of disk space.
>
> I beleive these file will be resized to a more appropriate size
> but dont know how often this occurs. Does anyone have
> any ideas?
>
> We are running Windows 2000, WebSphere MQ v5.3
>
> Instructions for managing your mailing list subscription are provided in
> the Listserv General Users Guide available at http://www.lsoft.com
> Archive: http://vm.akh-wien.ac.at/MQSeries.archive
>

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: 'q' file resize

2004-11-15 Thread Potkay, Peter M (ISD, IT)
His Q is already at zero, so I don't think the clear command will help.



http://www.mqseries.net/phpBB2/viewtopic.php?t=18537&highlight=queue+file
"The msgs have been removed from the msg chains so they are no longer
accessible, but they remain in the physical queue file until the file is
compressed. This happens at a checkpoint if nobody has the queue open and it
has contained no msgs for the previous 2 checkpoints, or at qmgr shutdown."


-Original Message-
From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Monday, November 15, 2004 3:38 PM
To: [EMAIL PROTECTED]
Subject: Re: 'q' file resize


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






  Jeff A Tressler
  <[EMAIL PROTECTED]To:
[EMAIL PROTECTED]
  >cc:
  Sent by: MQSeriesSubject:  'q' file resize
  List
  <[EMAIL PROTECTED]
  n.ac.at>


  11/15/2004 03:13
  PM
  Please respond to
  MQSeries List






We have a disk drive full and it is all due to two files. These are
the 'q' files that store the actual messages. The queue depth
has finally reached zero but these q files still are taking a
lot of disk space.

I beleive these file will be resized to a more appropriate size
but dont know how often this occurs. Does anyone have
any ideas?

We are running Windows 2000, WebSphere MQ v5.3

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


This communication, including attachments, is for the exclusive use of
addressee and may contain proprietary, confidential or privileged
information. If you are not the intended recipient, any use, copying,
disclosure, dissemination or distribution is strictly prohibited. If
you are not the intended recipient, please notify the sender
immediately by return email and delete this communication and destroy all 
copies.

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: 'q' file resize

2004-11-15 Thread philip . distefano
Issue a clear queue command on the empty queue, but the queue cannot be
opened elsewhere.






  Jeff A Tressler
  <[EMAIL PROTECTED]To:   
[EMAIL PROTECTED]
  >cc:
  Sent by: MQSeriesSubject:  'q' file resize
  List
  <[EMAIL PROTECTED]
  n.ac.at>


  11/15/2004 03:13
  PM
  Please respond to
  MQSeries List






We have a disk drive full and it is all due to two files. These are
the 'q' files that store the actual messages. The queue depth
has finally reached zero but these q files still are taking a
lot of disk space.

I beleive these file will be resized to a more appropriate size
but dont know how often this occurs. Does anyone have
any ideas?

We are running Windows 2000, WebSphere MQ v5.3

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


'q' file resize

2004-11-15 Thread Jeff A Tressler
We have a disk drive full and it is all due to two files. These are
the 'q' files that store the actual messages. The queue depth
has finally reached zero but these q files still are taking a
lot of disk space.

I beleive these file will be resized to a more appropriate size
but dont know how often this occurs. Does anyone have
any ideas?

We are running Windows 2000, WebSphere MQ v5.3

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive