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

Article translations Article translations
Article ID: 830901 - View products that this article applies to.
Expand all | Collapse all

On This Page

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.

RESOLUTION

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

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 "Applies to" section.

MORE INFORMATION

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows


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:
  1. Click Start, click Run, type regedt32, and then click OK.
  2. Locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters
  3. 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)
  4. 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)
  5. Quit Registry Editor.
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

Properties

Article ID: 830901 - Last Review: October 26, 2006 - Revision: 2.6
APPLIES TO
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows 2000 Advanced Server
Keywords: 
kbautohotfix kbhotfixserver kbqfe kbhotfixserver kbqfe kbbug kbfix kbqfe kbwin2000presp5fix KB830901

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com