Article ID: 899612 - Last Review: July 25, 2007 - Revision: 3.1 How to set up computer quotas and queue quotas in Microsoft Message QueuingImportant This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base: 256986
(http://support.microsoft.com/kb/256986/
)
Description of the Microsoft Windows registry On This PageINTRODUCTIONThis article discusses how to set up computer quotas and queue quotas that limit the amount of RAM that is available to Microsoft Message Queuing (also known as MSMQ) 3.0 and to Microsoft Message Queuing 2.0, and to individual queues. MORE INFORMATIONThe Message Queuing resource is not designed to be used as a database or as long-term RAM. If too many messages accumulate in individual queues in the Message Queuing resource, the volume of message may have an adverse effect on system performance. However, because the primary function of the Message Queuing resource is to provide asynchronous messaging, the Message Queuing resource can hold messages until the appropriate applications or clients can receive the messages. The Message Queuing resource stores messages in memory-mapped files. The memory-mapped files are mapped to the amount of RAM that is available to the Message Queuing resource. On a Microsoft Windows 2000 Advance Server-based computer, the default amount of RAM that is available to the Message Queuing resource is 2 gigabytes (GB). After the components of the Message Queuing resource are loaded onto the computer, the amount of RAM that is available to the Message Queuing resource is reduced to approximately 1.6 GB. If you enable the 3GB switch in the Boot.ini file, the amount of RAM that is available to the Message Queuing resource increases to 3 GB. After the components of the Message Queuing resource are loaded onto the computer, the amount of RAM that is available to the Message Queuing resource is reduced to 2.7 GB. Note The limitation on the amount of RAM that is available to the Message Queuing resource does not apply to Message Queuing 3.0. The Message Queuing resource uses approximately 70-80 bytes of RAM for every message. This is not a concern in Microsoft Message Queuing 1.0 or in Microsoft Message Queuing 2.0, where the volume of messages typically reaches a maximum size of between 1.6 GB and 1.8 GB before exhausting the available RAM. However, Message Queuing 3.0 running on a Microsoft Windows XP-based computer or on a Microsoft Windows Server 2003-based computer can accumulate enough messages for the RAM to be consumed by the Message Queuing Data Access (Mqac.sys) driver. When this problem occurs, system performance is affected. Although this problem is rare, it may occur for one of the following reasons:
Computer quotas and queue quotasThe Message Queuing resource uses the following two types of quotas:
Queue quotas limit the number of bytes that are available for all messages that are stored in a particular queue. To set up computer quotas for the Message Queuing resource or queue quotas for the Message Queuing resource, use one of the following methods. Method 1: Set up a computer quota on a computer that has the Message Queuing resource installed in Domain Mode and that has Active Directory integratedTo set up a computer quota on a computer that has the Message Queuing resource installed in Domain Mode and that has Active Directory integrated, follow these steps:
Method 2: Remotely set up a computer quota by using the Active Directory Users and Computers tool on a computer that has the Message Queuing resource installed in Domain ModeTo remotely set up a computer quota by using the Active Directory Users and Computers tool on a computer that has the Message Queuing resource installed in Domain Mode, follow these steps:Note You must be logged onto a computer that is currently running the Message Queuing resource and that has the Active Directory management tools installed.
Method 3: Set up a computer quota on a computer that has the Message Queuing resource installed in Workgroup mode and that is not integrated with Active DirectoryTo set up a computer quota on a computer that has the Message Queuing resource installed in Workgroup mode and that is not integrated with Active Directory, follow these steps:Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
Method 4: Set up a queue quotaTo set up a queue quota, follow these steps:
REFERENCESFor more information about computer quotas and queue quotas, visit the following Microsoft Web site: http://technet2.microsoft.com/windowsserver/en/library/bfa9b0e0-f79f-4b41-b13c-c02521e0316b1033.mspx
(http://technet2.microsoft.com/windowsserver/en/library/bfa9b0e0-f79f-4b41-b13c-c02521e0316b1033.mspx)
| Article Translations
|
Back to the top
