Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

An Exchange 2007 server stops responding to a MAPI client and logs event ID 9646 in the Application log


View products that this article applies to.

Symptoms

A server that is running Microsoft Exchange Server 2007 stops responding to one or more MAPI clients. Additionally, an event that resembles the following is logged in the Application event log:

Event ID: 9646
Type: Error
Source: MSExchangeIS
Description:
Closing Mapi session �/o=Exchange Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=user� exceeded the maximum of 500 objects of type �objtFolder�.

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

↑ Back to the top


Cause

This problem may occur if a MAPI client opens more than the default value of the server objects that are included in the following table.

Note The default values of several server objects were increased in Microsoft Exchange Server 2003 Service Pack 1 (SP1) and in later versions of Microsoft Exchange. The increased values are shown in the "Value in Exchange 2003 SP1 and in later versions of Exchange" column.
EntryDefault valueValue in Exchange 2003 SP1 and in later versions of Exchange
objtMessage250250
objtFolder500500
objtAttachment100500
objtFolderView500500
objtMessageView500500
objtAttachView250500
objtStream50250
objtACLView5050
objtRulesView5050
objtFXSrcStrm5050
objtFXDstStrm5050
objtCStream5050
objtNotify500,000500,000

↑ Back to the top


Resolution

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
In Exchange 2007, the number of server-side objects that are allowed to be opened by MAPI clients is limited. This behavior prevents a single MAPI client from exhausting resources on the Exchange server. When the event log error that is mentioned in the "Symptoms" section occurs, it indicates that a MAPI client may be opening too many objects or may be 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 MAPI 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 have to be adjusted. However, use caution before you adjust the maximum number of objects that are allowed. When you increase the maximum number of an object type, you also increase the 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 "Cause" section.

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

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:
1. Click Start, click Run, type regedit, and then click OK.
2. Expand the following registry subkey:
\\HKEY_LOCAL_MACHINE SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersSystem
3.Right-click ParametersSystem, point to New, and then click Key.
4. Type MaxObjsPerMapiSession, and then press ENTER to name the new subkey.
5.Right-click MaxObjsPerMapiSession, click New, and then click DWORD Value.
6. Type Object_type, and then press ENTER to name the object.

Note Object_type is the name of the object type in the event log error that is mentioned in the "Symptoms" section. For example, type objtMessage, and then press ENTER.
7. Right-click Object_type, and then click Modify.
8. In the Value data box, type the number of objects to which you want to limit this entry, and then click OK. For example, type 350 to increase the value for the objtMessage object. The default value is 250.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More information

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

↑ Back to the top


Keywords: KB925815, kbtshoot, kbclients, kbeventlog

↑ Back to the top

Article Info
Article ID : 925815
Revision : 4
Created on : 1/22/2007
Published on : 1/22/2007
Exists online : False
Views : 350