KB Article #67725
Circular buffer files, how to check for pending records
-- How to check for pending records not getting processed in the circular buffer files.
Resolution
# Gateway has the following circular buffer files present in the run_time/data sub directory of the Gateway installation directory.
1. gclog.pmq
2. router.pmq
3. timedrv.pmq
4. tracker.pmq
One can use the pmqctl command with the info option to check the current information on the same.
eg..
Gateway_V6.11.4/run_time/data> pmqctl info tracker.pmq
--
signature : a1b2c3d4
version_major : 1
version_minor : 0
status : 0
reader_pid : 0
sequence : 43583177
sync_seqn : 43509213
read_index : 0
write_index : 0
end_index : 160000000
--
0 records total, 0 bytes total
When the read index & the write index are the same, one can be assured that there are no more records to be read & processed from the circular buffer file. If the difference in the indices constantly increase over time then there is an issue with processing the records or reading the file in time & should be considered an alert situation.