The information in this article applies to:
SYMPTOMSWhen incoming mail is destined for local users the e-mail messages build up in the Queue folder on the mail server and are delivered slowly. There may be a large number of local e-mail messages (.eml files) without corresponding local transaction (extension .ltr) files. CAUSEIf the database containing the Membership directory is not processing the requests from the LDAP server fast enough, then the messages waiting to be processed will queue up. RESOLUTION
This problem may be caused by inefficient query optimization if the Membership database is on a SQL Server 6.5 server. SQL Server 6.5 requires that you manually update database statistics as the database table and index sizes change over time. This makes sure that the SQL Query Optimizer selects the optimal indexes for the processing of database requests. Failure to periodically update the database statistics can result in dramatic performance degradation as the database characteristics change.
You can run this command manually from ISQLW or run it as a scheduled task from within SQL Enterprise Manager.
WORKAROUNDUse SQL Server 7.0 for the Membership database. SQL Server 7.0 automatically updates database statistics. MORE INFORMATION
When MCIS Mail receives a message destined for a local user it queries the LDAP server to obtain further information on the user. LDAP in turn queries SQL Server for the user information. This request takes the form of a stored procedure (sp_ims if the IMS-optimized stored procedures are not enabled, sp_ims1 or sp_ims25 if they are). The longer the stored procedures take to return, the longer local mail will take to be delivered.
The results should be returned promptly.
REFERENCESThe Microsoft Site Server 3.0 Membership Directory Configuration and Tuning Guidelines document, available in the MCIS 2.5 resource kit at: http://www.microsoft.com/mcis/reskit/rk_start.htmThis site also contains further information on optimizing the performance of your Membership directory. Additional query words: mcis mail LDAP local queue
Keywords : kbSQLServ650 |
Last Reviewed: August 19, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |