exchange.sembee.info
from Sembee Ltd.
UK MS Exchange Consultants
Exchange 2003 - Event ID 1221

A common posting on newsgroups and forums from new Exchange administrators is when they look the event logs on their Exchange server and find this:

Event Type: Information
Event Source: MSExchangeIS Mailbox Store
Event Category: General
Event ID: 1221
Date: 01/01/2005
Time: 00:04:16
User: N/A
Computer: SERVER
Description: The database "First Storage Group\Mailbox Store (SERVER)" has
3.4 megabytes of free space after online defragmentation has terminated.

They then post a message about their Exchange server running out of space, and how to increase it.
There are a number of issues here, which will be dealt with separately.

What does this message mean?

What it means is that Exchange has carried out some routine maintenance on the Exchange database. Any old data that is past the delete thresholds has been deleted from the database.
The space it has left behind has then been consolidated, in to "white space". The size of the database hasn't changed - there is just some space within the database.
This "white space" will be used by Exchange first, before expanding the database any larger.

What happens if the size is very large?

It depends what you mean by large, and how large your Exchange database is.
For example, if your Exchange database is 200gb and the message says that you have 50mb free, then that isn't a massive amount of that space.
However if your Exchange database is only 10gb and the message says that you have 500mb free, then it is taking a larger proportional amount of the database.

Can I reclaim that space?

Exchange will use that space, so if your Exchange server is used heavily, then that space could be used up very quickly.
If your server is lightly used however, then you might consider an offline defrag. This uses a tool called eseutil.exe which you can find in the \exchsrvr\bin directory on your Exchange server. 

The decision to do an offline defrag should be weighed up carefully.

Running eseutil.exe on the database should NOT be considered routine, or part of the maintenance of the server. Exchange looks after itself, and eseutil should only be used on those rare occasions where a large amount of data has been deleted and the space needs to be reclaimed.

Does the message have anything to do with the size of the database?

No, it doesn't.
However you do need to monitor the size of the database if you are using Exchange 2000 standard edition, or are on a Small Business Server. These versions only allow a database of 16gb. If you exceed that, Exchange shuts down.
At that point you can use event ID 1221 to verify if there is lots of white space, so that you can do an offline defrag to get Exchange running again.

With Exchange 2003, Service Pack 2 increased the limit to 18gb, which can be increased to 75gb with a registry change. Furthermore, the enforcement of the limit takes in to account the amount of white space in the database, meaning that the physical size of the database can go beyond 75gb, as long as the amount of white space takes the size below that number. This makes an offline defrag almost unnecessary for most people.

More information on the Exchange database can be found here.

Why does it cause confusion?

This event log ID should have been worded slightly differently - changing the word "free" to "white". This would have given a clearer indication of what has happened. The message would then read like this:

"The database "First Storage Group\Mailbox Store (SERVER)" has 1 megabytes of white space after online defragmentation has terminated. "

More Information

There is more information on the way that Exchange uses the database and the true size of the database in this Microsoft article:
http://www.microsoft.com/technet/prodtechnol/exchange/2003/insider/trueamountofspace.mspx

and more information on the database in general here.


Exchange 2003 Home Page - Site Home Page
Last Page Update: 20/03/2011



More Content from Sembee Ltd.
 
Resources on exchange.sembee.info Other Sites Sembee Ltd.
Microsoft Exchange 2003 Command Prompt Getting Started Guide Microsoft Exchange Consultancy
Microsoft Exchange 2007 Login Scripts Director's Blog
Microsoft Exchange 2010 MS Exchange Resources  
Microsoft Outlook Knowledge Base search  
Exchange Networking Tasks Recovery of MS Office content from Temp Files  
Amazon Store Troubleshoot the Automatic Updates Client  
  UK ISP Status Pages  
© Sembee Ltd. 1998 - 2011.
Reproduction of any content on this web site is prohibited without express written consent. Use of this web site is subject to our terms and conditions. All trademarks and registered trademarks are property of their respective owners. This site is not endorsed or recommended by any company or organisation mentioned within and is to provide guidance only and as such we cannot be held responsible for any consequences of following the advice given.

Sembee Ltd. is registered in England and Wales at 33 Scrivens Mead, Thatcham, Berkshire, RG19 4FQ.
Registered company number: 4704428. VAT Number GB 904 5603 43.

girl