SMTP / Routing Group connector state changes cause needless connector state toggling in Exchange 2000 Server (271996)
The information in this article applies to:
- Microsoft Exchange 2000 Server
This article was previously published under Q271996 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
A Simple Mail Transport Protocol/Routing Group (SMTP/RG) connector may go into a "down" state temporarily, and then change within a minute to an "up" state after Advanced Queuing (AQ) retries the connector and determines that the SMTP/RG service on the target server is responding. This issue can occur if an SMTP/RG server on the other side does not close the connection properly. When a connector is in a down state, AQ flags the connector to indicate that it is in an error state. This type of connector state toggling can occur many times in an hour.
This issue impacts performance because it causes needless routing group version changes, which are associated with costly ResetRoutes AQ calculations. This issue also causes needless administrative notifications to be sent to the Exchange 2000 administrator if Exchange 2000 is configured to send notifications (to do so, click to expand Tools in Exchange System Manager, and then click to expand Monitoring and Status).
RESOLUTION
To resolve this issue, edit the registry to delay the forwarding of connector state changes and server changes (DMON info) by an amount of time that you specify in the registry. You can also edit the registry to eliminate redundant elements on that queue, so that the "connector down" element is deleted when the queue also contains "connector up" elements. If you configure these settings, Exchange 2000 only sends the most recent relevant connector state and server information notification when Exchange 2000 empties the queue.
The StateChangeDelay value affects the interval at which connectors are marked down and the notifications that occur as a result of connector and server state change. If you set this value, a server can only be marked up or down once in each time period that is set in the StateChangeDelay value. 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.
To add the StateChangeDelay value:
- Start Registry Editor (Regedt32.exe).
- Locate and click the following key in the registry:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RESvc\Parameters - On the Edit menu, click Add Value, and then add the following registry value:
Value name: StateChangeDelay
Data type: REG_DWORD
Radix: Decimal
Value data: Set this value to the number of seconds that you want between updates (if you do not set this value, the default is 300, which is 5 minutes)
- Quit Registry Editor.
- You need to restart the Simple Mail Transport Protocol service (Smtpsvc) and the Routing Engine service (Resvc) for this change to take effect.
Set the second parameter only in a situation where it is truly non-critical if the connector goes down. To add the SuppressStateChanges value:
- Start Registry Editor (Regedt32.exe).
- Locate and click the following key in the registry:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RESvc\Parameters - On the Edit menu, click Add Value, and then add the following registry value:
Value name: SuppressStateChanges
Data type: REG_DWORD
Radix: Decimal
Value data: If you set this value to any value other than zero, you suppress all link state changes on this server (defaults to 0).
- Quit Registry Editor.
- You need to restart the Simple Mail Transport Protocol service (Smtpsvc) and the Routing Engine service (Resvc) for this change to take effect.
Modification Type: | Minor | Last Reviewed: | 7/27/2006 |
---|
Keywords: | kbfix kbprb KB271996 |
---|
|