Previous | Next | Contents | Index |
In addition to message transport problems, there are three other common issues which can lead to messages sitting around unprocessed---or temporarily unprocessed---in the message queues:
$ PMDF CACHE/SYNCHRONIZE |
$ @PMDF_COM:convert_cache.com |
$ PMDF CACHE/REBUILD $ PMDF CACHE/CLOSE $ PMDF CACHE/SYNCHRONIZE |
35.4.6.1 Checking Version Limits and Numbers
PMDF log files, when created, are placed in the PMDF_LOG:
directory. After a period of time which is dependent on the level of
PMDF activity on your system, the file version number on one or more
log files can reach the RMS version number limit of 32,767. At this
point PMDF will be unable to create a new log file and will no longer
deliver messages on the associated channel.
PMDF will detect that log file version numbers are getting high and try to shuffle them back down to a safe level. If it is unable to do so, then warning messages will be sent to the postmaster. Certain situations, however, can prevent the warning from getting through. In any case, if you have detected a situation where log file version numbers are getting too high and PMDF has not fixed them for you, you should delete all versions of the log files in question. After that, new logs with the same name will start over from version 1.
Additional version limit problems will occur if version limits are set on the PMDF log directory. Consider the following scenario: A message is enqueued and a delivery job is started, but delivery processing takes an unusually long time due to network congestion. As this first job runs other messages are enqueued and dequeued from the channel, their delivery jobs producing additional log files. Now, if a version limit is ever reached, subsequent jobs will not be able to run because the log file associated with the first job is still open and cannot be purged. The resulting failures in turn lead to significant delivery delays.
The inevitable outcome here is that file version limits cannot be used
as a means to control the number of PMDF log files that are created.
For this reason, PMDF incorporates facilities to automatically purge
accumulated log files back to the limit set by the
PMDF_VERSION_LIMIT
logical. (The default is 5 if this
logical is not set.) Version limits are therefore unnecessary and
must not be imposed on the PMDF log directory.
Previous | Next | Contents | Index |