This article was previously published under Q184823
This article has been archived. It is offered "as is" and will no longer be updated.
Users experience Exchange service outages from roughly 20 seconds to 4minutes long sporadically throughout the day. Threads in Dsamain.exe mayspike to 100 percent.
Under Microsoft Exchange Server 4.0, the schema index for the directoryservice defaults to 0. This amounts to a flat scan for every directoryservice request. The algorithm has changed significantly from 4.0 to 5.5for the database retrieval mechanism, including improved caching. Underversion 5.5, a flat scan has a significant performance cost and hence theindex defaults to 1 by design. However, when you install version 5.5 in aversion 4.0 environment or upgrade 4.0 to 5.5, this value remains 0 andcauses the server outage described above.
Microsoft has confirmed this to be a problem in Microsoft Exchange Serverversion 5.5.This problem has been corrected in the latest U.S. Service Pack forMicrosoft Exchange Server version 5.5. For information about obtaining theService Pack, query on the following word in the Microsoft Knowledge Base(without the spaces):
S E R V P A C K
To work around this problem, set the directory service schema index to 1for Exchange Server 5.5 computers in a mixed 4.0/5.5 environment. To dothis, perform the following steps:
WARNING: Using the raw mode of the Exchange Administrator program (admin/r) incorrectly can cause serious problems that may require you toreinstall Microsoft Windows NT Server and/or Microsoft Exchange Server.Microsoft cannot guarantee that problems resulting from the incorrect useof raw mode can be solved. Use raw mode at your own risk.
Start the Exchange Administrator program in raw mode by typing the following at a command prompt:
On the View menu, click Raw Directory.
Select the Schema object in the Exchange Administrator hierarchy. This is located under the site name.
Open the Properties window for the Directory Name schema object.
In the Object Attribute list, click Search-Flags.
Change the Edit Value to 1. Then select Set.
Restart the directory service.
NOTE: This change must be made on one server within each site experiencingthe problem. This change will be replicated to all the servers within thesite.
dsamain msexchangeds RPC Requests high perfmon.exe perfmon slow