Microsoft KB Archive/830901

= Event ID 2022 is logged, and your Windows 2000-based computer may stop responding =

Article ID: 830901

Article Last Modified on 10/26/2006

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows 2000 Advanced Server

-



Important 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 Description of the Microsoft Windows registry



SYMPTOMS
Your Microsoft Windows 2000-based computer may respond slowly or may stop responding. An event that is similar to the following may be recorded multiple times: Event Type: Warning

Event Source: Srv

Event ID: 2022

Description:

The server was unable to find a free connection 2216 times in the last 60 seconds. This indicates a spike in network traffic. If this is happening frequently, you should consider increasing the minimum number of free connections to add headroom. To do that, modify the MinFreeConnections and MaxFreeConnections for the LanmanServer in the registry.

Note When this symptom occurs, the resolutions that are described in the following Microsoft Knowledge Base articles do not resolve the problem:

317249 How to troubleshoot event ID 2021 and event ID 2022

245080 Receiving multiple instances of event ID 2022

245077 Description of the standard terminology that is used to describe Microsoft software updates



CAUSE
This behavior occurs when the Server service cannot keep up with the demand for connections.



Hotfix information
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product 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.

Prerequisites
Windows 2000 Service Pack 3.

Restart requirement
You must restart your computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

File information
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 tool in Control Panel.   Date         Time   Version            Size    File name --  13-May-2004  15:26  5.0.2195.6927     238,640  Srv.sys 21-May-2004 20:28  5.0.2195.6930      76,048  Srvsvc.dll



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



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

This hotfix increases the highest possible value of the MinFreeConnections registry entry from 32 to 512. The MinFreeConnections value determines the free connection pool of the Server service.

On any Windows 2000-based computer that has version 5.0.2195.6930 or later of the Srvsvc.dll file installed, you can increase the MinFreeConnections value up to 512 and the MaxFreeConnections value up to 16384.

Note A hotfix is not required for Microsoft Windows Server 2003 because these maximum values are already present in the release version of Windows Server 2003.

Warning The maximum values are much higher than the values that are required to resolve the issue that is described in this article. You can resolve this issue on most servers by setting the MinFreeConnections value to 128 and the MaxFreeConnections value to 1024. To set the value of these registry entries, follow these steps:  Click Start, click Run, type regedt32, and then click OK. Locate and then click the following registry subkey:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters

 On the Edit menu, click Add Value, and then add the following registry entry:

Entry name: MinFreeConnections

Data type: REG_DWORD

Value: 128 (in decimal)

 On the Edit menu, click Add Value, and then add the following registry entry:

Entry name: MaxFreeConnections

Data type: REG_DWORD

Value: 1024 (in decimal)

 Quit Registry Editor.</li></ol>

Note You must restart the computer for the changes to take effect.

For additional information, click the following article numbers to view the articles in the Microsoft Knowledge Base:

816915 New file naming schema for Microsoft Windows software update packages

824684 Description of the standard terminology that is used to describe Microsoft software updates

Keywords: kbhotfixserver kbqfe kbhotfixserver kbqfe kbbug kbfix kbqfe kbwin2000presp5fix KB830901

-

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

© Microsoft Corporation. All rights reserved.