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.

Exchange database engine does not detect removed page in b-tree split operation


View products that this article applies to.

Symptoms

The Microsoft Exchange information store database may experience one of the following symptoms during normal operation:

During an offline defragmentation (ESEUTIL /D) of the database, the process stops with JET error
-1601(JET_errRecordNotFound)
or
-1603(JET_errNoCurrentRecord)
.

In 5.5 SP1 during an offline defragmentation (ESEUTIL /D), the process may stop with JET error
-1526 (JET_errLVCorrupted)
.

During normal operation, you may get a
-1069 error (JET_errVersionStoreOutOfMemory)
in the application log.
Event ID: 1101
Source: MSExchangeIS Private
Type: Error
Category: Background Cleanup
Description:
Error 0xfffffbd3 occurred on message Message ID during a background cleanup.
If you run the consistency checker (ESEUTIL /G db /V /X piped to a text file), it reports ERROR: corrupted LV(number) (lid changed without root), and/or ERROR: orphaned LV(lid, size, refcount). An orphaned LV is a non-corrupting error.

In 5.5 SP1, ESEUTIL /G /V /X may stop with the following JET Error -1206 (JET_errDatabaseCorrupted).

With Diagnostic Logging turned up to general on the Information Store you may receive the following Application Event Log: During normal operation, you may get a -1069 error (JET_errVersionStoreOutOfMemory) in the application log.
Event ID: 195
Source: ESE97
Type: Information
Category: General
Description: MSExchangeIS ((322) ) Internal trace: lv.cxx@395
The information store service (Store.exe) may access violate during normal operation when it encounters corrupt data.

The information store process is using 100 percent of the CPU time all consumed by one thread (there are occasions when up to three threads are affected). You can view this by following these steps:
  1. Start the Windows NT Performance Monitor.
  2. On the Edit menu, click Add To Chart.
  3. In the Object list, click Thread.
  4. In the Instance list, select all values that contain "store".
  5. Click Add.

↑ Back to the top


Cause

When the Exchange database engine inserts a record into the binary tree (b-tree), it may find a record with the same primary key that is marked for deletion. Because the node is just marked for deletion and has not been physically deleted yet, the Exchange database engine "undeletes" the node and changes its data to that of the new record. Because the Exchange database engine is changing the data associated with the record, the Exchange database engine may be changing the record's size. If the record becomes too big for the page, the Exchange database engine has to perform a b-tree split. During the split, the Exchange database engine must release the latch on the pages in the tree and then re-latch them when the split is completed. In rare circumstances where the information store cleanup thread comes along in the small delta where the pages were unlatched, the information store cleanup thread may remove the page marked for deletion. When the Exchange database engine tries to re-latch the pages, it does not know the record has been removed. As a result, the information store either stops responding (uses 100 percent processor time in one or more threads) or corrupts the data.

↑ Back to the top


Resolution

Apply the fix described below. The Exchange database engine has been fixed to detect whether the page has been removed and to take appropriate action if it has.

If you have already experienced the corruption symptoms of this problem, you can perform the following steps to repair the corruption with NO loss of data and no need to run ISINTEG -fix (as long as there is no other corruption in the database).

NOTE: Only run ESEUTIL /P after you have performed the steps to find LV problems in your database, which are outlined in the "Symptoms" section of this article.

Run the consistency checker (ESEUTIL /G <db> /V /X piped to a text file); it reports:
corrupted LV(number) (lid changed without root),
and/or
orphaned LV(lid, size, refcount).
An orphaned LV is a non-corrupting error.

Corrupted and Orphaned LVs Reported

If both corrupted and orphaned LVs are reported, you must follow these steps:
  1. Make sure the new Ese.dll file described below is in place (\winnt\system32).
  2. Stop the information store service.
  3. Run ESEUTIL /P <dbswitch> /X to repair the corruption.
  4. Perform an offline defragmentation of the database (ESEUTIL /D <db>).
  5. Restart the information store service.
  6. Perform a full online backup of the information store service to be sure you have the repaired version of the database backed up.

Orphaned LVs Reported

If only orphaned LVs are reported by ESEUTIL /G <db> /V /X, and no corrupted LVs are reported, you can remove the errors by performing an offline defragmentation of the database (ESEUTIL /D <db>).

Corrupted LVs Reported

If corrupted LVs are reported you must:
  1. Make sure the new Ese.dll file described below is in place (\winnt\system32).
  2. Stop the information store service.
  3. Run ESEUTIL /P dbswitch /X to repair the corruption.
  4. Perform an off-line defragmentation of the database (eseutil /d db).
  5. Restart the information store service.
  6. Perform a full online backup of the information store service to be sure you have the repaired version of the database backed up.
Note: Make sure that you have current backups of your databases before you run any utilities or upgrades on them.

If you have not experienced any of these symptoms but want to be proactive and prevent this corruption from occurring, make sure the Ese.dll file is in place (\winnt\system32) and restart the information store service.

↑ Back to the top


Status

Microsoft has confirmed this to be a problem in Microsoft Exchange Server version 5.5. This problem has been corrected in the latest U.S. Service Pack for Microsoft Exchange Server version 5.5. For information on obtaining the Service Pack, query on the following word in the Microsoft Knowledge Base (without the spaces):
S E R V P A C K


This fix is currently available at the following location:

↑ Back to the top


More information

High CPU use or a stoppage of the information store occurs if there are exactly two nodes on the page being split. This is because the Exchange database engine tries to split one record on a page, which is not possible.

Data corruption occurs if there are more than two nodes on the page being split. This is because Exchange database engine replaces the node immediately after the one it intended to insert to.

↑ Back to the top


Properties

Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.

↑ Back to the top


Keywords: KB181824, kbusage, kbfix, kbfaq, kbbug

↑ Back to the top

Article Info
Article ID : 181824
Revision : 6
Created on : 10/27/2006
Published on : 10/27/2006
Exists online : False
Views : 330