Microsoft KB Archive/830829

= Your Exchange Server 2003 computer may stop responding after a MAPI client opens more than the default value of certain server objects =

Article ID: 830829

Article Last Modified on 10/25/2007

-

APPLIES TO


 * Microsoft Exchange Server 2003 Enterprise Edition
 * Microsoft Exchange Server 2003 Standard Edition

-





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
Your Microsoft Exchange Server 2003 computer may stop responding to one or more clients. Additionally, an error message that is similar to the following may be logged in the application event log:

Event ID: 9646

Type: Error

Source: MSExchangeIS

Description:

Closing Mapi session &quot;/o=Organization/ou=Administrative Group/cn=Recipients/cn=user&quot; because it exceeded the maximum of 250 objects of type &quot;objMessage&quot;.

Note The description of this event may vary depending on the object type.



CAUSE
This problem may occur if a MAPI client opens more than the default value of the following server objects:

Note Microsoft Exchange Server 2003 Service Pack 1 (SP1) increased the default value of several server objects. The increased values are shown in the &quot;SP1 and later service packs&quot; column in the following table.



RESOLUTION
In Exchange Server 2003, the number of server-side objects that are allowed by clients is limited to prevent a single client from the exhausting resources on the Exchange server. When the event log error that is mentioned in the &quot;Symptoms&quot; section occurs, it indicates possible poor behavior on behalf of a client opening too many objects or leaving too many objects open on the server. If the event log error occurs, investigate any third-party applications or add-ins that are running on the client.

Additionally, investigate the user behavior that is associated with the indicated logon. This will help you better understand why the default number of objects is insufficient. In rare circumstances, the number of resources is insufficient and may be adjusted. However, use caution before you adjust the maximum number of objects that are allowed. When you increase the maximum number of objects of a particular type, you also increase the amount of memory that may be consumed by client requests. Incorrectly configuring this value could lead to out-of-memory warnings or virtual memory fragmentation warnings.

You can add a registry key that adjusts the maximum number of resources that a MAPI client can use at the same time. This adjustment overrides the default limit of each server object that is mentioned in the &quot;Cause&quot; section.

Note You should only adjust the value for the object type that is referred to in the event log error that is mentioned in the &quot;Symptoms&quot; section. You should adjust these values with caution, and only increase the value in small increments. For example, only adjust the value by 100.

For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/default.aspx?scid=fh;[LN;CNTACTMS]

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 add a registry key that limits the maximum number of resources that a MAPI client can use at the same time, follow these steps:  Click Start, click run, type regedit, and then click OK. Expand the following registry subkey:

 Right-click ParametersSystem, point to New, and then click Key. Type MaxObjsPerMapiSession, and then press ENTER to name the new subkey. Right-click MaxObjsPerMapiSession, click New, and then click DWORD Value. Type  , and then press ENTER to name the object.

Note is the name of the object type in the error message that is mentioned in the &quot;Symptoms&quot; section. For example, type objtMessage, and then press ENTER.</li> Right-click  , and then click Modify.</li> In the Value data box, type the number of objects that you want to limit this entry to, and then click OK. For example, type 350 to increase the value for the objtMessage object. The default value is 250.</li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

Keywords: kbbug kbprb KB830829

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.