Article ID: 185693 - Last Review: October 28, 2006 - Revision: 4.1 XADM: Spinning Thread in Mad.exe During Routing RecalculationThis article was previously published under Q185693 IMPORTANT: This article contains information about modifying the registry. Before you
modify the registry, make sure to back it up and make sure that you understand how to restore
the registry if a problem occurs. For information about how to back up, restore, and edit the
registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986
(http://support.microsoft.com/kb/256986/EN-US/
)
Description of the Microsoft Windows Registry
SYMPTOMS
The Exchange System Attendant process (Mad.exe) shows sustained, high CPU
utilization in a Performance Monitor chart view. Viewing the individual
threads of Mad.exe in Perfmon, you see that a single thread is maintaining
high utilization. Server performance may appear sluggish (particularly on
single processor systems).
Additionally, the Exchsrvr\Mtadata\Gwartx.mta files likely show a date and time stamp corresponding to the last restart time of the message transfer agent (MTA). This time stamp will not be updated over a 24-hour time period, and the following event may be logged in the Event Viewer:
Event: 5000 Source: MSExchangeSA Type: Error Category: General Recalculation of the routing table is complete. Result: The routing table is being recalculated. CAUSE
The routing topology of the Exchange organization exceeds the practical
limitations of the "aggressive pruning" algorithm introduced with MTA
enhancements that were included in 5.5 and 5.0 SP2 (see Microsoft Knowledge Base article 176518
(http://support.microsoft.com/kb/176518/EN-US/
)
, XCON: Recalculating Routing Does Not
Remove Previously Deleted Routes). Routing
recalculation can take hours, days, or even weeks longer than it did using
the previous algorithm.
RESOLUTION
To resolve this problem, obtain the latest service pack for Exchange Server
version 5.5. For more information, please see the following article in the
Microsoft Knowledge Base:
191014
(http://support.microsoft.com/kb/191014/EN-US/
)
XGEN: How to Obtain the Latest Exchange Server 5.5 Service Pack
Post-5.5 SP1 and 5.0 SP2 versions of the MTA have been compiled that allow the administrator to use a registry value to toggle between using the old algorithm and using the new "extra checking\aggressive pruning" algorithm. The default action of these MTAs, without the registry value set, is to engage the "extra checking" enhancement. WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk. The fix is a replacement of the Exchange MTA and requires that the following Windows NT registry value be added:
HKLM\System\CurrentControlSet\Services\MSExchangeMTA\Parameters
RID Consistency Checking : REG_DWORD : 0
To add this registry value:
STATUS
Microsoft has confirmed this to be a problem in Exchange versions 5.0 SP2,
5.5, and 5.5 SP1. This problem was first corrected in Exchange Server 5.5
Service Pack 2.
MORE INFORMATION
Article 176518
(http://support.microsoft.com/kb/176518/EN-US/
)
, explains the purpose of the "aggressive
pruning" algorithm. The purpose is to hasten the removal of deleted routes
from the site's routing recalculation server, thus removing these routes
from the site.
The original algorithm basically performs the following: Searches all local Connectors and starts off with an empty GWART. For each Connector found, adds the address spaces for the Connectors. If Connected Sites is set, imports in the remote site's GWART. During this import, removes duplicated addresses and circular routes. The "extra checking": Checks each imported route from the remote GWART. For every hop on the route, imports the GWART for the site corresponding to that hop, and verifies that the hop exists in that GWART also. The time required for extra checking factors exponentially to the number of sites and routes defined. In very large topologies where there are many routes defined, the time taken to perform the extra checking can be days or possibly even weeks. APPLIES TO
| Article Translations
|

Back to the top
