![]() |
|||||||||||||||||||||||||||||||
| |
Although Exchange will attempt to create an efficient balance between memory use by the OS and by user-mode processes, you may need to do some manual optimization if your server has 1GB or more of RAM installed. In our last issue, we talked about using the /3GB and /USERVA switches for this purpose. Use of these switches allows more page table entry kernel memory but still maintains 3 GB of memory for user-mode processes. Of these processes, the Store.exe process is the only one that can grow large enough to cause problems (on production servers, it can commonly use 1.5 GB of virtual memory). The Store.exe process uses its own heap allocation mechanism and structures, which are called exchmem and reside in the Store's virtual memory space. On start-up, it creates several exchmem heaps. When these are fully utilized or have been unusably fragmented, the process creates more. Excessive heap creation results in the store's virtual memory being depleted or becoming fragmented. Telltale Symptoms When the Store.exe process runs low on virtual memory (or free memory becomes fragmented), it starts paging rapidly. Since disk operations are inherently slower than memory operations, server performance degrades. Here’s what to look for:
Symptoms of exchmem heap fragmentation include:
What to Do We recommend the following actions to reduce both virtual memory usage and exchmem fragmentation:
Note: Four GB is the maximum amount of RAM that an Exchange server can utilize. Adding physical memory will not alleviate symptoms of virtual memory exhaustion. Microsoft warns that "virtual memory issues are more prevalent in a clustered Exchange 2003 configuration or a clustered Exchange 2000 configuration because these environments are typically used to scale Exchange to host multiple thousands of users together with multiple storage groups and multiple messaging databases." (see http://support.microsoft.com/?kbid=325044#ELADAAA) As Always, Your Mileage May Vary Messaging is one of the areas where a company's needs can scale up very quickly, and your Exchange configurations may become quite large and complex. Don't let them overwhelm you! The suggestions in this article will give you a starting point for understanding the root causes of memory-related performance issues, and allow you to anticipate and correct them before they become problems. Next month: Event Correlation |
||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
Copyright © <%= DatePart("yyyy", Date()) %> Heroix, 57 Wells Avenue, Newton, MA 02459. All
rights reserved.
If you do not wish to receive future e-newsletters from
Heroix, follow this link.