|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ Active logs |
« View previous topic :: View next topic » |
Author |
Message
|
mq__quest |
Posted: Mon Apr 28, 2025 6:27 am Post subject: MQ Active logs |
|
|
Acolyte
Joined: 21 Aug 2017 Posts: 52
|
Hello experts,
I'm trying to understand how the mq active logs work. we have a qmgr defined with 12 primary and 10 secondary logs, linear logging. But if I check the logs directory , I see there are more that 50 log extents with the names S00*, and there are some log extents with R00* names.
We have auto media image recording and auto log management enabled.
I'd appreciate if you someone could help with my below queries:
1) why are there more log extents than defined (12 +10)
2) I see log extents named with R00* are called reuse extents. what are these?
3) Tis is a test qmgr and has been idle for a while now and all hte queues are empty. However, the f/s size is using 40 GB space. I thought with auto media image recording and auto log management enabled, the filesystem should be almost empty (except some space occupied for the objects definitions) . so why is the filesystem using 40 GB ? |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Apr 29, 2025 4:30 am Post subject: Re: MQ Active logs |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20762 Location: LI,NY
|
mq__quest wrote: |
Hello experts,
I'm trying to understand how the mq active logs work. we have a qmgr defined with 12 primary and 10 secondary logs, linear logging. But if I check the logs directory , I see there are more that 50 log extents with the names S00*, and there are some log extents with R00* names.
We have auto media image recording and auto log management enabled.
I'd appreciate if you someone could help with my below queries:
1) why are there more log extents than defined (12 +10)
2) I see log extents named with R00* are called reuse extents. what are these?
3) Tis is a test qmgr and has been idle for a while now and all hte queues are empty. However, the f/s size is using 40 GB space. I thought with auto media image recording and auto log management enabled, the filesystem should be almost empty (except some space occupied for the objects definitions) . so why is the filesystem using 40 GB ? |
12+10 represent the maximum log space the queue manager can use. These should all be S*.LOG files. If memory serves well all the R*.LOG files are deemed beyond that log space, as files no longer in use that can be deleted any time by the qmgr. If you need space and want to delete manually you can use following mqrc command:
Code: |
RESET QMGR REDUCELOG REDUCE(MAX) |
Hope it helps  _________________ MQ & Broker admin |
|
Back to top |
|
 |
mq__quest |
Posted: Mon May 26, 2025 10:24 am Post subject: Re: MQ Active logs |
|
|
Acolyte
Joined: 21 Aug 2017 Posts: 52
|
fjb_saper wrote: |
12+10 represent the maximum log space the queue manager can use. These should all be S*.LOG files. If memory serves well all the R*.LOG files are deemed beyond that log space, as files no longer in use that can be deleted any time by the qmgr. If you need space and want to delete manually you can use following mqrc command:
Code: |
RESET QMGR REDUCELOG REDUCE(MAX) |
Hope it helps  |
Thanks for your response, fjb_saper.
Yes, 12+10 should be the max the qmgr uses. But why am I seeing around 50 S****.Logs in the active logs ? |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue May 27, 2025 9:17 am Post subject: Re: MQ Active logs |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20762 Location: LI,NY
|
mq__quest wrote: |
fjb_saper wrote: |
12+10 represent the maximum log space the queue manager can use. These should all be S*.LOG files. If memory serves well all the R*.LOG files are deemed beyond that log space, as files no longer in use that can be deleted any time by the qmgr. If you need space and want to delete manually you can use following mqrc command:
Code: |
RESET QMGR REDUCELOG REDUCE(MAX) |
Hope it helps  |
Thanks for your response, fjb_saper.
Yes, 12+10 should be the max the qmgr uses. But why am I seeing around 50 S****.Logs in the active logs ? |
Assuming you did set up automatic log checkpointing...(rcdmqimg)
Probably a damaged object that you need to recover.
check your logs looking for damage
 _________________ MQ & Broker admin |
|
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
|
|
|
|