Microsoft KB Archive/208217

= XFOR: MCIS 2.0 Caches Mailbox Index Files =

Article ID: 208217

Article Last Modified on 10/28/2006

-

APPLIES TO


 * Microsoft Commercial Internet System 2.0

-



This article was previously published under Q208217



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SUMMARY
Microsoft Commercial Internet Server (MCIS) version 2.0 caches mailbox index (.idx) files by default. Administrators may find themselves unable to immediately remove users' mailboxes without first having to shut down the mail services or the Microsoft Internet Information Server (IIS) administrator service. This apparent inability to remove the mailbox is rooted in the fact that the file handle associated with the mailbox index file is open and cached.



MORE INFORMATION
This behavior is by design. MCIS will cache the index file handles by default. It will only close the cached file handle when the following two conditions are true:
 * The cache is 90 percent or more occupied.

-and-
 * The cached file has been idle for 10 minutes. If the cache is less than 90 percent occupied, the 10 minute time-to-live (TTL) is ignored.

Administrators can control the cache behavior using the registry. Adjustments can be made to the following key:

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

HKLM\System\CurrentControlSet\Services\SMTPSVC\Parameters\CachedHandle

The following values are not present by default but can be added.

CacheEnable

REG_DWORD

Default value: 1

Setting CacheEnable to 0 disables caching.

CacheEntryNum

REG_DWORD

Default value: 1024

CacheEntryNum sets the size of the cache.

CacheTTL

REG_DWORD

Default value: 10 (minutes)

CacheTTL sets the time-to-live.

Additional query words: mcis index cache idx

Keywords: kbinfo KB208217

-

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

© Microsoft Corporation. All rights reserved.