• Exchange Databases Failover Due to Low Memory


    Recently I had the (un)fortunate experience of troubleshooting an issue with Exchange 2010 DAG Database copies failing over to another servers.  This happened in several different environments that I was supporting, so I know it can happen to anyone.  Here is a short synopsis of this issue (not all symptoms are listed):

    • SCOM Alert: A significant portion of the database buffer cache has been written out to the system paging file.  This may result in severe performance degradation.
    • SCOM Alert: Hard I/O error will dismount or terminate replication on a database copy.
    • Event Log contained the following:  The database could not allocate memory. Please close some applications to make sure you have enough memory for Exchange Server. The exception is Microsoft.Exchange.Isam.IsamOutOfMemoryException: Out of Memory (-1011)
    • Per perfmon, the disk subsystem itself was not having performance issues.  However the server was clearly not able to sustain proper performance, leading us to believe that there was not enough memory within the system:
    • Process Explorer showed a number of processes with high memory consumption.  Upon further review, identified known memory issues with some of these processes.
    • Disabling applications and services (like antivirus, backup, monitoring, etc) did not significantly free up the consumed memory
    • Low memory issues would occur when importing content into mailboxes.  This may be from the additional work load required by Exchange aware antivirus (background scan) and content indexing for this new content.
    • Antivirus exclusions were not properly configured against the SCOM Monitoring services and File Share Witness directory


    Our Resolution:
    Step 1: Confirmed that all servers within the DAG were consistently and properly configured, specifically network configuration and antivirus exclusions
    Step 2: Installed latest drivers, firmware, and recommended hotfixes (2 fixes resolved memory leak issues)
    Step 3: Added additional RAM in the servers (amount may vary on environment/need)
    Step 4: Reboot the server


    NOTE: Prior to modifying the RAM of an Exchange 2010 server, understand how that will directly impact database cache. Review Understanding the Mailbox Database Cache.  Also understand that other factors may need to be adjusted (ex: paging file config).

    Some may ask, “didn’t you follow the RAM guidance within the mailbox storage calculator?”  Yes we did but there were several factors that changed after we completed that phase of the design, including mailbox configuration, additional processes running on the servers, and user profiles/load. 


    Good Luck!
    Doug

  • A Few Hotfixes to Consider…

     UPDATED: June 2013

    I decided to collect my own short list of hotfixes for that I have recommended for an Exchange 2010/Windows 2008 R2 environment. 
      NOTE: This does not include security hotfixes (WSUS) and is NOT an official list of hotfixes or build recommendation - this is my list of hotfixes that I have recommended for newly deployed Exchange environments as a means to prevent known issues from occurring.

    Exchange 2010 Hotfixes
      Exchange 2010 Service Pack 3 – http://support.microsoft.com/kb/2808208
      KB2803727 Update Rollup1 for Exchange Server 2010 Service Pack 3 - http://support.microsoft.com/kb/2803727


    Office 2010 Hotfixes
      Office 2010 Service Pack 1 - http://support.microsoft.com/kb/2460049
      KB2597090 Description of the Outlook 2010 update: February 2013 - http://support.microsoft.com/kb/2597090
      KB2553391 Description of the Outlook 2010 hotfix package: December 11, 2012 - http://support.microsoft.com/kb/2553391
      KB2832226 Office 2010 cumulative update for April 2013 - http://support.microsoft.com/kb/2832226

    Office 2013 Hotfixes 
      KB2738013 Description of the Outlook 2013 Update: April 2013 - http://support.microsoft.com/kb/2738013

    Office for Mac 2011 Hotfixes 
      KB2830450 Description of the Microsoft Office for Mac 2011 14.3.4 Update - http://support.microsoft.com/kb/2830450

    Base Windows 2008 R2 SP1 Hotfix
    KB 2775511 – An Enterprise Hotfix rollup for Windows Server 208 R2 SP1 – http://support.microsoft.com/kb/2775511


    Windows 2008 R2 Post-SP1 Hotfixes 
      KB2754704 http://support.microsoft.com/kb/2754704 -- MPIO
      KB2471472 http://support.microsoft.com/kb/2471472 -- NDIS
      KB2769369 http://support.microsoft.com/kb/2769369 -- WIN32SPL
      KB2494016 http://support.microsoft.com/kb/2494016 -- CSVFILTER  
      KB2578113 http://support.microsoft.com/kb/2578113 -- CLUSRES 
      KB2614892 http://support.microsoft.com/kb/2614892 -- MOUNTMGR  
      KB2536275 http://support.microsoft.com/kb/2536275 -- SYS  
      KB2619234 http://support.microsoft.com/kb/2619234 -- RPCHTTP
      KB2724197 http://support.microsoft.com/kb/2724197 -- Kernel   
      KB2779069 http://support.microsoft.com/kb/2779069 -- CLUSSVC 
      KB2699780 http://support.microsoft.com/kb/2699780 -- Registry 
    * Updated from previous hotfix notification release 


    Lync Server 2010 Hotfixes
      Updates Resource Center for Lync  - http://technet.microsoft.com/en-us/lync/gg131945

    NOTE: If you cannot download the hotfix from the KB, then first, determine if you really need that hotfix and if so, consider contacting MSFT support for that build or look for another, related hotfix with similar files and build.

    Have Fun...
    Doug