A special resource task in the Windows service uses the MinFreeConnections and MaxFreeConnections registry settings to preallocate connection objects. Windows Server 2003 automatically calculates these values. The algorithm that is used by Windows Server 2003 to determine these values now considers the amount of physical RAM in Windows Server 2003. The algorithm also considers the Server service optimization settings.
For example, the algorithm considers the following optimization settings:
- Minimize Memory Used
- Balance
- Maximize Throughput for File Sharing
- Maximize Throughput for Network Applications
By default, you do not have to change the MinFreeConnections and MaxFreeConnections registry settings. However, under certain conditions, the demand for preallocated connection objects may exceed the default numbers that are automatically configured for these registry settings. In this case, event ID 2022 is usually logged in the System event log. Correct any system problem before you consider changing the MinFreeConnections and MaxFreeConnections settings.
For more information about event ID 2022, click the following article numbers to view the articles in the Microsoft Knowledge Base:
245077�
Computer stops responding with event ID 2022
245080�
Receiving multiple instances of event ID 2022
The following list shows the default MinFreeConnections and MaxFreeConnections registry values for each Server service optimization setting in Windows Server 2003.
- Minimize Memory Used
- MinFreeConnections = 2
- MaxFreeConnections = 2
- Balance
- MinFreeConnections = 2
- MaxFreeConnections = 4
The MinFreeConnections and MaxFreeConnections registry values are as follows when the amount of physical RAM in Windows Server 2003 is less than 1 gigabyte (GB):
- Maximize Throughput for File Sharing
- MinFreeConnections = 4
- MaxFreeConnections = 8
- Maximize Throughput for Network Applications
- MinFreeConnections = 4
- MaxFreeConnections = 8
The MinFreeConnections and MaxFreeConnections registry values are as follows when the amount of physical RAM in Windows Server 2003 is between 1 GB and 16 GB:
- Maximize Throughput for File Sharing
- MinFreeConnections = 8
- MaxFreeConnections = 16
- Maximize Throughput for Network Applications
- MinFreeConnections = 8
- MaxFreeConnections = 16
The MinFreeConnections and MaxFreeConnections registry values are as follows when the amount of physical RAM in Windows Server 2003 is more than 16 GB:
- Maximize Throughput for File Sharing
- MinFreeConnections = 12
- MaxFreeConnections = 24
- Maximize Throughput for Network Applications
- MinFreeConnections = 12
- MaxFreeConnections = 24