Thursday 18 October 2012

An Exchange 2007 Server Stops Responding to a MAPI Client

This problem may occur if a MAPI client opens more than the maximum number of server objects. In Exchange 2007, the number of server-side objects that are allowed to be opened by a single MAPI session is limited. This behavior prevents a single MAPI client from exhausting resources on the Exchange server.

When an Exchange 2007 server stops responding to a MAPI client and generates Event 9646, it indicates that a MAPI client may be opening too many objects or may be leaving too many objects open on the server.

The following table lists the default values for the maximum number of server objects that can be opened at one time in Exchange 2007.

Default values of the maximum number of open server objects


Entry Default value
objtMessage 250
objtFolder 500
objtAttachment 500
objtFolderView 500
objtMessageView 500
objtAttachView 500
objtStream 250
objtACLView 50
objtRulesView 50
objtFXSrcStrm 50
objtFXDstStrm 50
objtCStream 50
objtNotify 500,000

To resolve the problem, do the following:
  • Investigate any third-party applications or add-ins that are running on the MAPI client. Some third-party applications keep objects open for long periods of time or open many objects concurrently.
  • 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 cases, you may need to add a registry key to adjust the maximum number of open objects. This new registry key will override the default value. Such rare cases include situations in which it is acceptable or necessary to use applications that keep objects open or open many objects concurrently.
    CautionCaution:
    When you increase the maximum number of an object type, you also increase the memory that may be consumed by all client requests connecting to the server. Incorrectly configuring this value could lead to out-of-memory warnings or virtual memory fragmentation warnings.
    CautionCaution:
    Incorrectly editing the registry can cause serious problems that may require you to reinstall your operating system. Problems resulting from editing the registry incorrectly may not be able to be resolved. Before editing the registry, back up any valuable data.

To perform the following procedure, the account you use must be delegated membership in the local Administrators group. For more information about permissions, delegating roles, and the rights that are required to administer Exchange 2007, see Permission Considerations.



  1. Start Registry Editor (regedit).
  2. Locate 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 the object type, and then press ENTER to name the entry. For example, type objtMessage, and then press ENTER to create an entry that changes the default maximum of objtMessage objects.
  7. Right-click the entry that you created in Step 6, and then click Modify.
  8. In the Value data box, type the new maximum number of objects to which you want to limit this entry, and then click OK.

noteNote:
The server will automatically recognize the new limit within five minutes.

No comments:

Post a Comment