Author |
Message
|
nagabhb |
Posted: Thu Nov 14, 2013 1:35 am Post subject: Linear vs circular loogging |
|
|
Apprentice
Joined: 20 Dec 2010 Posts: 42
|
Hi , Though we defined LogPrimaryFiles as 3 and LogSecondaryFiles as 2 , we see many (30 as of now) active log files are getting created.
Also we notice below statements in qm logs .
AMQ7468: The oldest log file required to perform media recovery of queue
manager '' is S0001031.LOG.
EXPLANATION:
The log file S0001031.LOG contains the oldest log record required to recreate
any of the objects from their media images. Any log files prior to this will
not be accessed by media recovery operations.
ACTION:
Use this information together with the information in the most recent AMQ7467
message. Archivable log files are all those older than BOTH S0001031.LOG and
the log file mentioned in the AMQ7467 message.
Can any one help us understan how this can happen.
Thanks. |
|
Back to top |
|
 |
exerk |
Posted: Thu Nov 14, 2013 1:45 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
You have a linear-logged queue manager, and the Info Centre will better explain (and in more detail) why you have an increasing number of logs. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
nagabhb |
Posted: Thu Nov 14, 2013 1:57 am Post subject: |
|
|
Apprentice
Joined: 20 Dec 2010 Posts: 42
|
I am sorry , we are using circular logging and the puzzle here is why more no of active logs are getting created than defined.
Log:
LogPrimaryFiles=3
LogSecondaryFiles=2
LogFilePages=1024
LogType=CIRCULAR
LogBufferPages=0
LogPath=/var/mqm/log/PAP032X1/
LogWriteIntegrity=TripleWrite
Thanks. |
|
Back to top |
|
 |
exerk |
Posted: Thu Nov 14, 2013 2:08 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Are you sure those are the entries for the queue manager you're seeing this 'anomaly' on? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
zpat |
Posted: Thu Nov 14, 2013 2:41 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
The standard IBM defaults are woefully inadequate in this day and age.
Suggest increasing logfilepages to 16384 to start with. _________________ Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error. |
|
Back to top |
|
 |
exerk |
Posted: Thu Nov 14, 2013 3:18 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
zpat wrote: |
The standard IBM defaults are woefully inadequate in this day and age.
Suggest increasing logfilepages to 16384 to start with. |
Irrespective of that, the OP 'appears' to be getting linear-log related messages from a circular-logged queue manager... _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
nagabhb |
Posted: Thu Nov 14, 2013 3:40 am Post subject: |
|
|
Apprentice
Joined: 20 Dec 2010 Posts: 42
|
Yes you are correct. Wondering why there are more no of active logs created rather defined and noticing messages that are related to linear logging though we use circular.
Do you need to take a look on any other additional parameter ?
Thanks. |
|
Back to top |
|
 |
exerk |
Posted: Thu Nov 14, 2013 3:54 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
nagabhb wrote: |
...Wondering why there are more no of active logs created rather defined and noticing messages that are related to linear logging though we use circular... |
Positively identify the name of the queue manager where these messages are being generated, then check the qm.ini file of that queue manager and check the last change date of that file. It's possible that it was originally defined with linear logging and someone has changed the LogType parameter thinking that is sufficient to change the logging type - but that is purely speculation on my part. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Nov 16, 2013 3:40 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
How do you know that the qmgr's log are circular?
Just changing the value in QM.INI does nothing. It is informational only.
To change the value from linear to circular you have to delete and rebuild the qmgr...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|