According to the qm.ini, the Queue Manager has been created with all default values, i.e. (3 + 2 logs) * (4096 pages * 4 k). So the maximum size occupied by the logs will not exceed 80 MB, even if there are GB available on the disk.
The migmqlog command allows you to switch from circular logs to linear logs and vice versa, and to change the location of the logs.
It does not allow you to change the number and size of the logs.
It is possible to change the number of logs by editing the qm.ini and restarting the Queue Manager, but there is no official solution to change the size of the logs.
I see two solutions:
- destroy and recreate the Queue Manager with at least LogFilePages = 40960, and why not -lla (probably the best solution)
- migrate the logs to linear with migmqlog, then the qm.ini to indicate "automatic log management".
HTH, LMD.
------------------------------
Luc-Michel Demey
DEMEY CONSULTING
------------------------------
Original Message:
Sent: Thu March 26, 2020 05:12 AM
From: Erika Fődi
Subject: AMQ6709E: The log for the queue manager is full.
Hi Luc-Michel,
the qmgr was migrated newly and our customer wish is to use circular logging (i have no idea why) because this was used on the CMO system too.
Yes, i know the default values and i have also checked it in the qm.ini and it is as you say 80 MB. We have currently 6.4 log area available on the host. So the log couldn't grow over the space.
Is your suggestion to increase the primary and secondary log files?
Log:
LogPrimaryFiles=3
LogSecondaryFiles=2
LogFilePages=4096
LogType=CIRCULAR
Thank you!
------------------------------
Erika Fődi
Original Message:
Sent: Thu March 26, 2020 04:54 AM
From: Luc-Michel Demey
Subject: AMQ6709E: The log for the queue manager is full.
Hello Erika,
The MQ logging options have been greatly improved in version 9, but there may still be problems.
When creating the Queue Manager, if the "-lc" option is chosen (which is the default option), the Queue Manager will have 3 circular logs and 2 secondary logs, each of 16 MB.
If an operation requires more than 5 x 16 MB of log space (e.g. a bulk commit), this message may appear.
Ideally, use the "-lla" option (linear logs automatic) when creating the Queue Manager, and specify larger logs.
It is possible to convert circular logs to linear logs with migmqlog command.
HTH, LMD.
------------------------------
Luc-Michel Demey
DEMEY CONSULTING
Original Message:
Sent: Wed March 25, 2020 05:11 AM
From: Erika Fődi
Subject: AMQ6709E: The log for the queue manager is full.
Hi, we have received the following FDC file on the following MQ system:
Name: IBM MQ
Version: 9.1.0.0
Level: p910-L180705
BuildType: IKAP - (Production)
Platform: IBM MQ for Linux (x86-64 platform)
+-----------------------------------------------------------------------------+
| |
| IBM MQ First Failure Symptom Report |
| ========================================= |
| |
| Date/Time :- Tue March 24 2020 13:13:11 CET |
| UTC Time :- 1585051991.040814 |
| UTC Time Offset :- 60 (CET) |
| Probe Id :- HL010004 |
| Component :- hlgReserveLogSpace |
| Program Name :- amqzlaa0 |
| Process :- 22488 |
| Thread :- 104974 SharedAgent |
| FDCSequenceNumber :- 0 |
| Note :- Earlier FFSTs are missing from this file! |
| Deleting an FDC file whilst a queue manager is running can compromise IBM |
| MQ diagnostic capabilities. This brief FFST report reproduces some |
| information preserved from the important first FFST of this process. |
| |
+-----------------------------------------------------------------------------+
+-----------------------------------------------------------------------------+
| |
| IBM MQ First Failure Symptom Report |
| ========================================= |
| |
| Date/Time :- Tue March 24 2020 13:22:47 CET |
| UTC Time :- 1585052567.045809 |
| UTC Time Offset :- 60 (CET) |
| Host Name :- xyzlinuxsys01 |
| Operating System :- Linux 4.14.35-1902.0.18.el7uek.x86_64 |
| PIDS :- 5724H7251 |
| LVLS :- 9.1.0.0 |
| Product Long Name :- IBM MQ for Linux (x86-64 platform) |
| Vendor :- IBM |
| O/S Registered :- 1 (libmqmcs_r.so) |
| Data Path :- /var/mqm |
| Installation Path :- /opt/mqm |
| Installation Name :- Installation1 (1) |
| License Type :- Production |
| Probe Id :- HL010004 |
| Application Name :- MQM |
| Component :- hlgReserveLogSpace |
| SCCS Info :- /build/slot1/p910_P/src/lib/logger/amqhlge0.c, |
| Line Number :- 609 |
| Build Date :- Jul 5 2018 |
| Build Level :- p910-L180705 |
| Build Type :- IKAP - (Production) |
| Effective UserID :- 1000 (mqm) |
| Real UserID :- 1000 (mqm) |
| Program Name :- amqzlaa0 |
| Arguments :- -mXZTST002 -fip3 |
| Addressing mode :- 64-bit |
| LANG :- en_US.UTF-8 |
| Process :- 22488 |
| Process(Thread) :- 20420 |
| Thread :- 104974 SharedAgent |
| QueueManager :- XYZQMGR01 |
| SubpoolName :- XYZQMGR01 |
| UserApp :- FALSE |
| ConnId(1) IPCC :- 3304804 |
| ConnId(2) QM :- 138139 |
| Last HQC :- 2.10.10-2729408 |
| Last HSHMEMB :- 2.11.11-450688 |
| Last ObjectName :- |
| Major Errorcode :- hrcE_LOG_FULL |
| Minor Errorcode :- OK |
| Probe Type :- MSGAMQ6709 |
| Probe Severity :- 2 |
| Probe Description :- AMQ6709E: The log for the queue manager is full. |
| FDCSequenceNumber :- 1 |
| |
+-----------------------------------------------------------------------------+
We are using circular logging here. As i saw this issue should not occur with the version 9.1.
Any suggestion here what should we check or change on the system?
Thanks
------------------------------
efodi
------------------------------