I am running a Windows Server 2022 virtual server under Azure.
Edition Windows Server 2022 Datacenter Azure Edition
Version 21H2
Installed on 20/11/2021
OS build 20348.1726
For the last few days it has, from time to time, become almost unusable. It seems that the Antimalware Service Executable is consuming all available CPU, rendering the computer unresponsive and I/O operations becoming incredibly slow. The system is up to date. Troubleshooting is almost impossible because the performance is so dire. For example, the estimated time to unzip a 200MByte zip (expanding to 800MBytes) file is four hours!
I have already tried the tricks of setting the scans to nightly at midnight and excluding the MsMpEng.exe process from scanning (but the exclusion won't remain; Azure takes it away again).
In addition, the Event Log shows this error occurs frequently:
Session "SenseIRTraceLogger" failed to start with the following error: 0xC0000035
This is related, I think, to Windows Defender Advanced Threat Protection. It gives the following error frequently:
The Windows Defender Advanced Threat Protection Service service terminated unexpectedly. It has done this 95 time(s). The following corrective action will be taken in 300000 milliseconds: Restart the service.
Could the two be related?
I have found that rebooting the server gives a bit of respite, but then the issue recurs.
As I said, I thought I had done what others have suggested, but to no avail. I'm reluctant to disable Windows Defender, but maybe I should look for another antivirus product?