Microsoft KB Archive/811308

= How to increase the kernel memory threshold =

Article ID: 811308

Article Last Modified on 1/8/2007

-

APPLIES TO


 * Microsoft Message Queuing 2.0

-



Important This article contains information about how to modify the registry. Make sure that you 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 Description of the Microsoft Windows registry



SYMPTOMS
If you send or receive Microsoft Message Queuing messages, you may receive the following error:

0xc00e0027 (MQ_ERROR_INSUFFICIENT_RESOURCES)

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

810507 Error 0xc00e0027 when you send or receive a Microsoft Message Queuing message



CAUSE
Message Queuing stops allocating kernel memory when the kernel memory consumption exceeds 80 percent of the total available. You can send and receive messages again when the kernel memory consumption reaches less than 80 percent of the threshold.



Service pack information
To resolve this problem, obtain the latest service pack for Microsoft Windows 2000. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to obtain the latest Windows 2000 service pack

Hotfix information
A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Windows 2000 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.  Date        Time   Version            Size    File name --  17-Dec-2002  16:51  5.0.0.759         280,336  Mq1repl.dll 21-Oct-2002 18:38  5.0.0.759          14,096  Mq1sync.exe 17-Dec-2002 16:49  5.0.0.764          75,408  Mqac.sys 17-Dec-2002 16:51  5.0.0.760         217,360  Mqads.dll 29-Oct-2002 16:50  5.0.0.761          25,360  Mqbkup.exe 17-Dec-2002 16:52  5.0.0.750          76,560  Mqdscli.dll 17-Dec-2002 16:52  5.0.0.735          41,744  Mqdssrv.dll 21-Oct-2002 18:38  5.0.0.759          98,064  Mqmig.exe 17-Dec-2002 16:51  5.0.0.759         265,488  Mqmigrat.dll 17-Dec-2002 16:51  5.0.0.740         222,480  Mqoa.dll 17-Dec-2002 16:52  5.0.0.762           8,464  Mqperf.dll 17-Dec-2002 16:52  5.0.0.764         424,720  Mqqm.dll 17-Dec-2002 16:51  5.0.0.756         102,672  Mqrt.dll 17-Dec-2002 16:51  5.0.0.759          70,928  Mqsec.dll 17-Dec-2002 16:51  5.0.0.762          23,824  Mqupgrd.dll 17-Dec-2002 16:51  5.0.0.763         110,352  Mqutil.dll 17-Dec-2002 16:51  5.0.0.748          64,784  Msmq.cpl



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section. This problem was first corrected in Microsoft Windows 2000 Service Pack 4.



MORE INFORMATION
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 the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

This hotfix lets you raise or lower the kernel memory threshold in Message Queuing.

In certain circumstances, you may want to raise the threshold because an application, a driver, or a system component is consuming kernel memory. Garbage collection is done by the kernel only when the paged pool memory consumption reaches 80 percent. However, Message Queuing stops functioning at 80 percent of paged pool memory consumption. If you set the kernel memory threshold above 80 percent, this makes sure that Message Queuing does not go into &quot;low memory mode&quot; until the Windows Memory Manager starts cleanup.

In other circumstances, you may want to lower the threshold to limit the amount of kernel memory that is used by Message Queuing.

To change the kernel memory threshold, follow these steps:
 * 1) Install the hotfix that is mentioned in this article.
 * 2) Add the following registry key:

 of data type DWORD

The default is 80. The value can range from 1 to 99. Anything else is converted to 80.

Note When you create this value the Decimal option must be selected. If you select Hexidecimal, the default value of 80 is used.

To change the kernel memory threshold on a clustered Message Queuing server, follow these steps:  Install the hotfix that is mentioned in this article on each cluster node. Add the following registry key of data type DWORD on each cluster node:

 Add the following registry key of data type DWORD on the active node in the cluster:



For more information about how to obtain a hotfix for Windows 2000 Datacenter Server, click the following article number to view the article in the Microsoft Knowledge Base:

265173 The Datacenter Program and Windows 2000 Datacenter Server Product

For more information about how to install multiple hotfixes with only one restart, click the following article number to view the article in the Microsoft Knowledge Base:

296861 How to install multiple Windows updates or hotfixes with only one reboot

Additional query words: paged non pool STATUS_INSUFFICIENT_RESOURCES 0xc000009a MSMQ

Keywords: kbhotfixserver kbqfe kbtshoot kbwin2ksp4fix kbwin2000sp3fix kbwin2000presp4fix kbfix kbbug KB811308

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.