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/SYNCHRONIZEOnce resynchronized, upon the next running of the PMDF periodic delivery job the channel programs should process all messages in their queue.
$ @PMDF_COM:convert_cache.comThere is a more drastic step, rebuilding the queue cache database, which should only be performed as a last resort, e.g., if disk problems have corrupted your queue cache database, as it will cause loss of some information from the queue cache database. (The sort of information lost includes, but is not limited to, message creation dates, message deferral dates, message expiration dates, and the original message owner information used by the PMDF QM/USER utility to allow users to bounce their own messages.) You may wish to consult Innosoft before taking this step. To rebuild the queue cache database, use the OpenVMS commands
$ PMDF CACHE/REBUILD $ PMDF CACHE/CLOSE $ PMDF CACHE/SYNCHRONIZE
34.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 may 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, may 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.