XADM: Spinning Thread in Mad.exe During Routing Recalculation (185693)
The information in this article applies to:
- Microsoft Exchange Server 5.0 SP2
- Microsoft Exchange Server 5.5
- Microsoft Exchange Server 5.5 SP1
This 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 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, 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
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:
- Start Registry Editor (Regedt32.exe).
- Locate the following key in the registry:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services
\MSExchangeMTA\Parameters
- On the Edit menu, click Add Value and use the following entry:
Value Name: RID Consistency Checking
Data Type: REG_DWORD
Value: 0
NOTE: Spaces and capitalization are important. Setting the registry
value to 0 (zero) disables the extra route checking.
- Quit Registry Editor.
- Restart all Exchange services.
NOTE: Routing recalulation occurs on only one server in the site. To determine the current Routing Calculation Server, open the organization\ site\Configuration\Site Addressing property page and look at the Routing Calculation Server list box. It is recommended that all servers be upgraded with the new MTA and registry setting because the Routing Calculation Server can be easily changed in the Microsoft Exchange Administrator program. Although routing recalculation is performed by the MTA component, Ems_rid.dll, this .dll file executes under the system attendant process.
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.
Modification Type: | Major | Last Reviewed: | 4/7/2006 |
---|
Keywords: | kbQFE KBHotfixServer kbbug kbfix KB185693 |
---|
|