Microsoft KB Archive/271996

= SMTP / Routing Group connector state changes cause needless connector state toggling in Exchange 2000 Server =

Article ID: 271996

Article Last Modified on 2/26/2007

-

APPLIES TO


 * Microsoft Exchange 2000 Server Standard Edition

-



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 &quot;down&quot; state temporarily, and then change within a minute to an &quot;up&quot; 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 &quot;connector down&quot; element is deleted when the queue also contains &quot;connector up&quot; 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).</li> Locate and click the following key in the registry:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RESvc\Parameters

</li> 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).

</li> Quit Registry Editor.</li> You need to restart the Simple Mail Transport Protocol service (Smtpsvc) and the Routing Engine service (Resvc) for this change to take effect.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
In the scenario that is described in the &quot;Symptoms&quot; section of this article, the most recent notification is most likely to be connector up, because the connector down state is retained for only one minute before AQ reverses the connector down state. When a connector up packet arrives at the master, the routing group version number is not incremented because (as is also most likely the case) the connector is already known to be up. Therefore, these registry changes avoid needless and costly ResetRoute AQ calculations.

The default value of the delay time-out (when this registry entry is not enabled) is 300 seconds, or 5 minutes. Modify this registry entry only in the situation that is described in the &quot;Symptoms&quot; section of this article. This is accomplished by setting the registry delay value as necessary (for example, to 600 seconds [10 minutes]), and restarting the Simple Mail Transport Protocol service (Smtpsvc) and the Routing Engine service (Resvc). There are two possible values that you can add to neither of them are set or created by default

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

888231 Exchange 2003 cannot control link state updates that are caused by user version changes

832281 Link state issues and routing issues in Exchange 2000 Server and in Exchange Server 2003

Additional query words: routing master link state table lst lsa rgc force SMTP Connector linkstate up status

Keywords: kbfix kbprb KB271996

-

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

© Microsoft Corporation. All rights reserved.