Hi Readers,
Sharing a unique issue that we have faced recently, ECP app pool on all our CAS servers was constantly taking High CPU.
As a workaround We have to recycle the pool so that it comes back to Normal state.
When the issue occurs we can’t login to ECP, it just keeps on waiting as below:
As suggested by Microsoft, we captured proc dump & submitted it to them.
Below came out from the proc dump:
extest_87587868969124 account that is used by Microsoft SCOM was trying to
access the below regkey
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeTenantMonitoring
Access was denied and all subsequent threads associated with the ECP app pool were getting backed up waiting for this thread to complete.
On investigating further , it was found that this key doesn’t exists.
So below solution was suggested, run the commands on all CAS servers. (change path according to your environment)
add-pssnapin Microsoft.Exchange.Management.PowerShell.Setup
new-perfcounters –definitionfilename “C:\Program Files\Microsoft\Exchange Server\V14\Setup\Perf\MSExchangeTenantMonitoringPerformanceCounters.xml”
As soon as we ran this CPU came back to normal 🙂
Tech Wizard
Thank you for your post. It helped me out. I used this syntax so that I could guarantee that I targeted the correct path for Exchange.
new-perfcounters –definitionfilename “$env:exchangeinstallpath\Setup\Perf\MSExchangeTenantMonitoringPerformanceCounters.xml”
I realize this is an old post, but we’re still on Exchange 2010 and recently had this problem. We weren’t able to view “All Options” in OWA, and our Exchange server had high CPU specifically in the ECP App Pool. setting the new-perfcounters was the solution! Thanks for the tip, this was incredibly helpful!
I’ve seen other posts about “clearing out performance counter permissions in the registry” but those were more global than I’d like and this was more precise of a solution.