PRB: Must Restart MSMQ Service to Cleanup Message FilesID: Q199312
|
MSMQ message files accumulate and are only deleted when you startup the MSMQ Service.
The MSMQ Service deletes all empty message files for recoverable and transactional messages upon startup. Recoverable and transactional message storage files are paired and are of the form Lnnnnnnn.MQ and Pnnnnnnnn.MQ or Jnnnnnnn.MQ. For more details on storage directory files, please see the following article in the Microsoft Knowledge Base:
Q174307 INFO: Interpreting File Names in the Storage Directory
If you do not restart the MSMQ Service, the disk storage usage remains at the peak requirement since the last restart of the MSMQ Service.
The following fix installs a periodic cleanup of empty MSMQ message files. The default interval for cleanup is six hours. This interval can be modified by a new registry key. To change the default interval, you must add MessageCleanupInterval to the registry.
WARNING: Using Registry Editor incorrectly can cause serious problems that
may require you to reinstall your operating system. Microsoft cannot
guarantee that problems resulting from the incorrect use of Registry Editor
can be solved. Use Registry Editor at your own risk.
For information about how to edit the registry, view the "Changing Keys And
Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete
Information in the Registry" and "Edit Registry Data" Help topics in
Regedt32.exe. Note that you should back up the registry before you edit it.
If you are running Windows NT, you should also update your Emergency
Repair Disk (ERD).
HKEY_LOCAL_MACHINE\ Software\Microsoft\MSMQ\Parameters
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug was corrected in Windows NT 4.0, Service Pack 4.
MSMQ Administrators Guide; topic: Message Delivery;
Additional query words:
Keywords : kbMSMQ100fix
Version : winnt:1.0
Platform : winnt
Issue type : kbprb
Last Reviewed: January 22, 1999