Microsoft KB Archive/327260

= MTA slows down or stalls in Exchange Server 5.5 and messages back up in the private information store =

Article ID: 327260

Article Last Modified on 10/28/2006

-

APPLIES TO


 * Microsoft Exchange Server 5.5 Standard Edition

-



This article was previously published under Q327260



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
When you run Exchange Server 5.5, the message transfer agent (MTA) may slow down or stall. Messages may back up in the private information store. If you try to run Microsoft Exchange Performance Optimizer (Perfwiz.exe), the overall performance of Exchange Server may slow down.



CAUSE
This issue occurs because Performance Optimizer does not allocate sufficient information store threads to increase the routing capacity of the MTA. Performance Optimizer also resets any changes that you make. Make sure that you make any changes on all servers in the environment.



RESOLUTION
To resolve this issue, use one of the following methods.

Run Performance Optimizer in verbose mode to modify thread counts
 At a command prompt, switch to the Exchsrvr\Bin directory, type perfwiz -v, and then press ENTER to start Performance Optimizer in verbose mode. In Performance Optimizer, click Next until you see the Properties window that includes the Users on this server and Users in organization boxes. In the Users on this server and Users in organization boxes, allocate sufficient resources to handle your workload.

If the number of users falls in the high end of a range, select the next-highest range. Under Memory Usage, do not limit Exchange Server memory usage. Click Next until you see the # of background threads box, note the value in the box (do not change it), and then click Next. In the Public and Private Information Store box, increase each of the four send and delivery thread values to 6. Click Back to return to the # of background threads box, and then increase that value based on the changes that you made in step 5. For example, if you increased each of the four send and delivery thread values from 2 to 6, increase the # of background threads value by 16.

Note Although you can make these changes manually in the registry, by default these values are not visible. When you run perfwiz -v, the program automatically adds the values for you and eliminates any worry about spelling and case sensitivity.</li> Click Next until you see the # of submit/deliver threads box, and then increase the value for this box to 6 from the default setting of 2. The MTA uses these threads to transfer mail to the information store.</li> On the same page, specify the following values: <ul> Kernel threads: 6</li> RTS threads: 6</li> Transfer threads: 6</li> Dispatcher threads: 6</li></ul>

Increasing these values to 6 creates a larger pipe between the MTA and the information store. This allows the message backlog to be cleared more efficiently under high-traffic conditions.</li> Click Next until you see the # of TCP/IP control blocks box and make sure that the value in this box is not reset to 20 (unless that is the correct value).

If there are more than two X.400 connectors installed on Exchange Server, Microsoft recommends that you increase this registry value to [10 * (number of X.400 connectors+ 10)] for the appropriate protocol stack. For example, if there are five X.400 connectors installed on Exchange Server, set this registry string to a value of 60 (decimal). This allows 10 control blocks per X.400 connector. This is the maximum number of permitted associations per X.400 connector.

The maximum allowed total is 2,000 control blocks.

Note If you are also using X.25 as a messaging protocol stack, the total of X.25 + TCP/IP control blocks can be no greater than 1,250.

If these values are increased beyond the acceptable ranges, the MTA will fail to start.

Note Note that perfwiz -v tries to reset the Transmission Control Protocol (TCP) control blocks parameter to the default of 20. Compare settings before you commit changes.</li> Click Next two times, click Finish, and then restart services.</li></ol>

Monitor the MTA queue to the information store to verify that the changes affect the queue.

Modify the registry
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 resolve this behavior, create or change the following values in the Windows NT registry: <ol> Start Registry Editor (Regedt32.exe).</li> Locate and then click the following key in the registry:

Note This registry key is one path; it has been wrapped for readability.</li> On the Edit menu, click Add Value, and then add the following registry value:

Value Name: Allow fuzzy proxy search

Data Type: REG_DWORD

Value: 2

Note If the registry value does not exist in the registry, the MTA assumes a value of 1 for this setting and enables fuzzy proxy searches.</li> Double-click the Concurrent XAPI Sessions value.</li> In the Radix area, click Hex, type 50 in the Data box, and then click OK.

Note By default, this value is set to 50 hexadecimal (80 decimal). If Performance Optimizer is run with default settings selected, the value is set to 30. However, we recommend that this value be set to 50 hexadecimal (80 decimal).</li> Quit Registry Editor.</li> Stop and then restart the Microsoft Exchange Message Transfer Agent (MTA) service.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
Performance Monitor in verbose mode stops all services and offers options that are not available in normal mode. You do not have to analyze hard disks or move files. You can use this procedure to change some resource (thread) settings from the defaults.

To view the current settings for this server without stopping services, type perfwiz -r (at a command prompt). You can also use the Perfopt.log file in the Winnt\System32 folder to view any changes that Performance Optimizer makes to the system.

<div class="references_section">