While attempting to update and restart several mail collections jobs, pop up error windows were appearing with errors such as:
"Out of MemoryAutomation Error.Automation Error. The paging file is too small for this operation to complete.Automation error. No more threads can be created in the system."
The following log entries were found in the EMWMigration.log file:
02-23-09 2:27:58 PM EMWCon::CNetUse::AddConnectionEx Connection already exists. Server: Server_Name. Username: domainservice_account
02-23-09 2:27:58 PM EMWCon::WMIHelper::WMI_ConnectServerConnect using WMI. Server: Server_Name. Namespace: rootCIMV2. Username: domainservice_account.
02-23-09 2:27:59 PM MMECluster::Factory::GetOSVersionError: 7 - Out of memory
02-23-09 2:27:59 PM Out of memory
02-23-09 2:27:59 PM MMECluster::Factory::CreateError: (Cannot get OS version on Server_Name)
02-23-09 2:27:59 PM aeEMWGUIShared::ClusterInfo::CheckClusterError: (Cannot enumerate cluster nodes on Server_Name)
02-23-09 2:27:59 PM aeEMWGUIShared::HostServer::CheckClusterError: (Cannot enumerate cluster nodes on Server_Name)
02-23-09 2:27:59 PM aeEMWGUIShared::AgentsInstallChecker::IsAgentInstalledExError: (Cannot check cluster Server_Name)
The target server had plenty of memory. The paging file had been increased. None of the changes made a difference.
The Windows Management Instrumentation (WMI) was not functioning correctly on the target server.
A restart of the WMI service did not resolve the issue. The target server was re-booted and the errors were no longer received.
WMI stands for Windows Management Instrumentation. For more information on what WMI is and Frequently Asked Questions (FAQs), please refer to the following Microsoft article titled Secrets of Windows Management Instrumentation | Troubleshooting and Tips at the following link:http://technet.microsoft.com/en-ca/library/ee692772.aspx
The following WMI troubleshooting tools are normally utilized:
Go to Start - Run - and type wmimgmt.msc
When the console opens use the right mouse menu - Connect to another computer - Another computer - and type the name of the server.
After it connects use the right mouse menu again and select Properties, it should display the properties without any errors.
Note: Before continuing, please heed the warning at the following link: The word Tester in the title of this opening dialog should serve as a warning even to GUI gurus. Wbemtest was not designed for mere mortals or even savvy system admin scripters. It was designed as a tool for testing the functionality of the WMI COM API. The result is that: 1) wbemtest enables you to do almost anything with the WMI COM API and 2) the interface is difficult to use even for experts.
Go to Start - Run - and type Wbemtest.exe
The wbemtest.exe tool makes a WMI connect and can query the metabase at the same time. For more information on the wbemtest.exe tool, please see the following Microsoft article titled Scripting Eye for the GUI Guy | WBEM What? at the following link:http://technet.microsoft.com/en-ca/library/ee692770.aspx